Last Updated on
Setting up hardware sensors on Centos / RHEL is extremely simple and can be accomplished with one command. Installing server tools, such as those from HP are bit more involved with their installation procedure – they also offer a full suite of management utilities for propriety hardware.
sudo yum install -y lm_sensors
sudo yum install -y hddtemp
Running the sensors command will yield similar output:
[root@nuuk ~]# sensors
Adapter: Virtual device
temp1: +27.8°C (crit = +95.0°C)
temp2: +29.8°C (crit = +95.0°C)
Adapter: ISA adapter
Physical id 0: +55.0°C (high = +84.0°C, crit = +90.0°C)
Core 0: +55.0°C (high = +84.0°C, crit = +90.0°C)
Core 1: +48.0°C (high = +84.0°C, crit = +90.0°C)
Running the hddtemp command will yield similar output (my hardware yields no results as there are no sensors present):
[root@nuuk ~]# hddtemp
WARNING: Drive /dev/sda doesn't seem to have a temperature sensor.
WARNING: This doesn't mean it hasn't got one.
WARNING: If you are sure it has one, please contact me (firstname.lastname@example.org).
WARNING: See --help, --debug and --drivebase options.
/dev/sda: INTEL SSDSA2BW080G3H: no sensor
/dev/sdb: Seagate Expansion: drive supported, but it doesn't have a temperature sensor.
/dev/sdc: Seagate BUP Slim BK: drive supported, but it doesn't have a temperature sensor.
/dev/sdd: Seagate BUP Slim SL: drive supported, but it doesn't have a temperature sensor.