linux下收集系统全面信息(基于sosreport以及supportconfig)
Linux下日志的采集和分析是一个非常重要的工作,一般厂商都会有自己独有的命令,我这边列举下常用的两个Linux厂商的收集命令(Redhat Linux以及SuSe Linux),便于收集后,对系统进行全面分析。 1.基于redhat的日志收集 [root@openstack-01etc]#sosreport sosreport(version3.2) Thiscommandwillcollectdiagnosticandconfigurationinformationfrom thisCentOSLinuxsystemandinstalledapplications. Anarchivecontainingthecollectedinformationwillbegeneratedin /var/tmp/sos.NUmfabandmaybeprovidedtoaCentOSsupport representative. AnyinformationprovidedtoCentOSwillbetreatedinaccordancewith thepublishedsupportpoli...