sosreport命令用于收集系統(tǒng)配置及架構(gòu)信息并輸出診斷文檔
2018年04月24日 15:05:55 涼風(fēng)何處去 閱讀數(shù) 1252
要運(yùn)行sosreport,需要安裝sos 包。sos包是大多是linux的默認(rèn)安裝包中的一部分。如果因?yàn)槟撤N原因沒有安裝,那么運(yùn)行下面的yum命令來安裝sos 包 :
# yum install sos -y
生成報(bào)告
打開終端輸入sosreport命令:
# sosreport
這條命令正常情況下會(huì)在幾分鐘里完成。根據(jù)本地配置,在某些情況下,某些選項(xiàng)可能需要更長(zhǎng)的時(shí)間才能完成。一旦完成,sosreport將在/ tmp目錄目錄中生成一個(gè)壓縮文件。不同版本使用不同的壓縮方案( gz,bz2,或xz)。該文件應(yīng)提供給紅帽的支持代表(在開放的情況下通常作為附件)。
注意:sosreport需要root權(quán)限才能運(yùn)行。
[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. 此處敲擊回車來確認(rèn)收集信息
Please enter your first initial and last name [linuxprobe.com]:此處敲擊回車來確認(rèn)主機(jī)編號(hào)
Please enter the case number that you are generating this report for:此處敲擊回車來確認(rèn)主機(jī)編號(hào)
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.
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。
當(dāng)前名稱:sosreport命令用于收集系統(tǒng)配置-創(chuàng)新互聯(lián)
瀏覽地址:http://chinadenli.net/article44/dgpdee.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供關(guān)鍵詞優(yōu)化、企業(yè)網(wǎng)站制作、動(dòng)態(tài)網(wǎng)站、響應(yīng)式網(wǎng)站、小程序開發(fā)、網(wǎng)站策劃
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容