Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The sosreport command is used to collect system configuration

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The sosreport command is used to collect system configuration and architecture information and output diagnostic documents.

April 24, 2018, 15:05:55 cool breeze where to read 1252

To run sosreport, you need to install the sos package. The sos package is part of the default installation package for most linux. If it is not installed for some reason, run the following yum command to install the sos package:

# yum install sos-y

Generate a report

Open the terminal and enter the sosreport command:

# sosreport

This order is normally completed in a few minutes. Depending on the local configuration, in some cases, some options may take longer to complete. Once done, sosreport will generate a zip file in the / tmp directory. Different versions use different compression schemes (gz,bz2, or xz). This document should be provided to Red Hat's support representatives (usually as an attachment in open cases).

Note: sosreport requires root permission to run.

[root@linuxprobe ~] # sosreport

Sosreport (version 3.0)

This command will collect diagnostic and configuration information from

This Red Hat Enterprise Linux system and installed applications.

An archive containing the collected information will be generated in

/ var/tmp and may be provided to a Red Hat support representative.

Any information provided to Red Hat will be treated in accordance with

The published support policies at:

Https://access.redhat.com/support/

The generated archive may contain data considered sensitive and its

Content should be reviewed by the originating organization before being

Passed to any third party.

No changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit. Click enter here to confirm the collection of information

Please enter your first initial and last name [linuxprobe.com]: click enter here to confirm the host number

Please enter the case number that you are generating this report for: click enter here to confirm the host number

Running plugins. Please wait...

Running 70/70: yum...

Creating compressed archive...

Your sosreport has been generated and saved in:

/ tmp/sosreport-iZuf66ojri88mynksjw6vjZ-20180424145944.tar.xz

The checksum is: 79436cdf791327040efde48c452c6322

Please send this file to your support representative.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 285

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report