mcelog processes  machine checks  (in particular  memory  and CPU hardware errors) on modern x86 Linux systems.

mcelog is required by both 32bit x86 Linux kernels (since 2.6.30) and 64bit Linux kernels (since early 2.6 kernel releases) to log machine checks and should run on all Linux systems that need error handling.

mcelog进程主要用于 x86的Linux系统的机器检测(尤其是针对内存和CPU的硬件故障)。mcelog系统要求是,32位的 x86 Linux内核(从 2.6.30开始)和 64位的Linux内核(从早起的2.6内核发行版开始),会打出机器的检测日志,该进程,应该跑在所有需要错误处理的Linux系统上!


The mcelog daemon accounts memory and some other errors errors in various waysmcelog --client can be used to query a running daemon. The daemon can also execute triggers when configurable error thresholds are exceeded. This is used to implement a range of automatic predictive failure analysis algorithms: including bad page offlining and automatic cache error handling. User defined actions can be also configured.


All errors are logged to /var/log/mcelog or syslog.

For memory errors it supports modern x86 systems with integrated memory controllers; for CPU errors all modern x86 systems are supported.

Traditionally mcelog was run as a cronjob, but this usage is deprecated now. The modern way to run it is to start it at boot up time and run it always as a daemon. In addition it can be used to decode fatal machine checks on the command line (but this is also usually not needed anymore on modern kernels which log those after reboot automatically)

For installation information and how to set up a mcelog package (if you're a distributor) please see the README.


机器没硬件故障的话,/var/log/mcelog 文件一般是空的!所以,可以针对该文件做一些日常的检测之类的!


GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐