2016年1月7日

蒐集系統資訊工具 sosreport

在 RedHat / CentOS 下有個蒐集系統資訊的指令:sosreport
 sosreport 是模組設計,可以根據你想要的模組進行資料的蒐集

安裝
shell># yum install sos

列出支援的模組:
shell># sosreport -l

蒐集指定的模組資訊
shell># sosreport -o postfix

蒐集所有的模組資訊
shell># sosreport -a

執行後會將蒐集到的資訊打包成壓縮檔及一個md5檢核檔
解壓縮後請找 sos_reports 目錄內有個 sosreport.html 可以方便讀取



沒有留言:

張貼留言