| Command | Description |
|---|---|
dmseg | Displays system messages and hardware logs |
lm_sensors | Monitors sensor data, such as temps, fan speed, voltage |
ipmitool | Remote management and diagnostics for server hardware |
dmesg
This command stores data regarding the boot process, system errors, logs, etc. By default, the command prints everything in the system message buffer. However, we can search for specific data with a few flags, such as:
| Flag | Description |
|---|---|
-c | Clears buffer after displaying messages |
-f | Filters message by facility (drivers, sec logs, etc.) |
-l | Categorizes by severity |
-e | shows timestamps |
-H | Human readable |
lm_sensors
lm_sensors is the name of a package that provides access to the sensors program that can be used to check sensor readings.
Note
The
sensorscommand might not show all relevant information until a configuration is prepared; this can be done automatically withsensors-detect.
ipmitool
ipmitool is used for remote management of servers, using commands such as ipmitool sensors to get sensor data from a remote server.