CommandDescription
dmsegDisplays system messages and hardware logs
lm_sensorsMonitors sensor data, such as temps, fan speed, voltage
ipmitoolRemote 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:

FlagDescription
-cClears buffer after displaying messages
-fFilters message by facility (drivers, sec logs, etc.)
-lCategorizes by severity
-eshows timestamps
-HHuman 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 sensors command might not show all relevant information until a configuration is prepared; this can be done automatically with sensors-detect.

ipmitool

ipmitool is used for remote management of servers, using commands such as ipmitool sensors to get sensor data from a remote server.