How to monitor the CPU temperature in your Linux box
How to monitor the temperature?
Linux provides a nice and useful app to monitor your CPU temperature called lm_sensors.
Requirements
lm_sensors requires a kernel 2.6.17 or higher. If you are running an older kernel you will have to upgrade before you install lm_sensors
Installation is simple:
- Install the package via your package manager (for exemple yum)
yum install lm_sensors
- Run the sensors detector
sensors-detect
Fallow the on screen instructions.
This will instruct you to add to /etc/modprobe.conf something like :#—-cut here—-
# I2C module options
alias char-major-89 i2c-dev
#—-cut here—- - Start the lm_sensors service
service lm_sensors start
- Now to get the sensor data
sensors
This will list all available sensors and provide the data from them.
Please note that if you want to use lm_sensors in a core2duo system you will need kernel 2.6.21 or newer.
Filed under: Operating System, computer | Tagged: Linux, Operating System
