linux命令:sosreport

前言

  • redhat 7
  • redhat 7集成了sosreport不需要再安装了。如果没有的可以用yum安装。

sosreport在github上

https://github.com/sosreport/sos

用途

使用sosreport收集系统日志和其他调试信息。

执行sosreport命令

$ sosreport  -a --report
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.

Please enter your first initial and last name [localhost]:
Please enter the case number that you are generating this report for:

 Running plugins. Please wait ...

  Running 71/71: yum...
Creating compressed archive...

Your sosreport has been generated and saved in:
  /var/tmp/sosreport-localhost-20190822094536.tar.xz

The checksum is: 8b9dc601d949a6e8b276fceabaf99f85

Please send this file to your support representative.

输入命令后一路回车。生成的文件存于目录/var/tmp

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值