rhel-sos-异常日志收集

概述

搜集rhel/centos发行版本信息,为了解决异常棘手的问题提供日志

A set of tools to gather troubleshooting information from a system

install && collect

yum install -y sos

sos-3.9-5.el7.centos.11.noarch : A set of tools to gather troubleshooting information from a system
Repo        : updates
Matched from:
Filename    : /usr/sbin/sosreport

//开始收集系统信息,默认收集所有信息
sosreport

//打开搜集报告
sos_reports/sos.html

kernel->dmesg
logs-> messages,boot.log,cron...
posted @ 2023-01-05 14:40  mvpbang  阅读(69)  评论(0编辑  收藏  举报