When a server becomes slow or restarts by itself, heat or a failing fan can be the reason. Linux can read the temperatures of the processor and the disks, and on servers with a management controller (IPMI) also the fans, the power supply and a log of hardware events. The commands were tested on Ubuntu 26.04 LTS on an HP ProLiant server; run them as root.


1. Processor and Disks: lm-sensors

apt install lm-sensors
modprobe drivetemp
sensors

The answer includes, for example:

coretemp-isa-0000
Package id 0:  +39.0°C  (high = +74.0°C, crit = +94.0°C)
Core 0:        +36.0°C  (high = +74.0°C, crit = +94.0°C)

drivetemp-scsi-0-0
temp1:        +28.0°C  (low  =  +5.0°C, high = +55.0°C)
  • coretemp is the processor. high and crit are the limits of the processor itself; under load, values well below high are fine.
  • drivetemp is one entry per disk; modprobe drivetemp makes the disk temperatures visible. Hard disks like to stay below about 45 °C.
  • Some boards report odd values, for example 8 °C for a sensor called acpitz. Ignore entries without a clear name.

2. Fans, Power and More: IPMI

Most dedicated servers have a management controller that watches the hardware. ipmitool reads it from the running system:

apt install ipmitool
ipmitool sdr type Temperature
ipmitool sdr type Fan

For example:

01-Inlet Ambient | 0Eh | ok  | 64.1 | 19 degrees C
02-CPU           | 0Fh | ok  | 65.1 | 40 degrees C
06-HD Max        | 13h | ok  |  4.1 | 50 degrees C
Fan 3A           | 05h | ok  |  7.1 | 31.36 percent, Transition to Running

The third column should say ok. Inlet Ambient is the air entering the server, measured in the data centre; the others are the parts inside. Fans are often shown as a percentage of their speed. ipmitool sdr type "Power Supply" shows the power supplies, here Presence detected.

If ipmitool answers that it Could not open device, load the driver once with modprobe ipmi_devintf and try again. Some servers do not offer IPMI to the system; then only step 1 is available. The web interface of the controller is described in How to Connect to Dedicated Server IPMI Remote Management.

3. The Hardware Event Log

ipmitool sel info
ipmitool sel list | tail -20

The controller records events such as fan or power failures, temperature warnings and starts of the system, with date and time (UTC). Look here after an unexpected restart.

When Something Is Wrong

A fan or power supply that is not ok, temperatures near the high limit without load, or new warnings in the event log: open a support ticket with the output of the commands above. For the disks, also check their health: How to Check Disk Health with smartctl on a Dedicated Server.


Related Guides

View all Linux guides

Was this answer helpful? 0 Users Found This Useful (0 Votes)