mcelog查看硬體

來源:互聯網
上載者:User

標籤:

mcelog 是 x86 的 Linux 系統上用來檢查硬體錯誤,特別是記憶體和CPU錯誤的工具。

1.安裝方式
yum install mcelog

2.配置mcelog後台運行
mcelog --daemon

3.查看:
cat /var/log/mcelog

mcelog日誌

Hardware event. This is not a software error.MCE 0CPU 1 BANK 8 MISC f95000051281 ADDR bf829a00 TIME 1447231148 Wed Nov 11 16:39:08 2015MCG status:MCi status:Corrected errorMCi_MISC register validMCi_ADDR register validMCA: MEMORY CONTROLLER RD_CHANNELunspecified_ERRTransaction: Memory read errorMemory read ECC errorMemory corrected error count (CORE_ERR_CNT): 1Memory transaction Tracker ID (RTId): 81Memory DIMM ID of error: 1Memory channel ID of error: 1Memory ECC syndrome: f950STATUS 8c0000400001009f MCGSTATUS 0MCGCAP 1c09 APICID 0 SOCKETID 0 CPUID Vendor Intel Family 6 Model 44

Mcelog相關檔案
/dev/mcelog 裝置檔案/var/log/mcelog    messages記錄檔/etc/mcelog/mcelog.conf設定檔/var/run/mcelog.pid

預設故障日誌只記錄在/var/log/mcelog,並不記錄到系統日誌中。

如果需要在系統日誌中也體現,需修改/etc/mcelog/mcelog.conf檔案,將前面#去掉,並儲存。

# log output options# Log decoded machine checks in syslog (default stdout or syslog for daemon)         #syslog = yes# Log decoded machine checks in syslog with error level#syslog-error = yes# Never log anything to syslog#no-syslog = yes     # Append log output to logfile instead of stdout. Only when no syslog logging is active   #logfile = filename


mcelog查看硬體

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.