I wanted to install a package to monitor the temperature of my CPU called lm-sensors.
According to Synaptic, it's already installed.
Can someone give me some simple step-by-step instructions on how I can actually run it from the command line or otherwise?
Once
lm-sensors
is installed you need to reach for your terminal:type
just press ENTER for everything it suggests (shown in Uppercase)
At the end it will ask you whether to add what it finds to
/etc/modules
. If you are happy with the findings type "yes".More information about lm-sensors and how to tailor it for your system can be found on the lm-sensors installation wiki page
Typing
will display the values for the sensors detected previously.
e.g.
lm-sensors
is a set of tools to control and view sensors that may be present on your hardware. Included are several applications that run from the command line:
To run these programs open a terminal and type the name of the application (including optional parameters, see manpages for details). This will give an output similar as shown here for sensors:
Configuration of lm-sensors is done by configuration files in
/etc/sensors3.conf
and in/etc/sensors.conf
(for details see manpage for sensors.conf).psensor
I'm quite fond of
psensor
... it runs on the Indicator Bar (the "Systray" near the clock), so it is perhaps the most unobtrusive app that useslm-sensors
. It also can show a nice window with graphs displaying the history of each sensor, just like System Monitor does for memory, CPU usage, etc. It has logging too!It also uses sensors other than
lm-sensors
, likehddtemp
for HDD temperatures and NVidia and AMD GPU (video cards) temperature and fan.Better screenshots than mine can be found in the author's website:
http://wpitchoune.net/psensor/
xsensors
It has a graphical interface that is easy to understand. It shows me the motherboard voltages (there are four of them), the CPU and motherboard temperature as well as the CPU fan speed, the speed of three chassis fans and the power fan speed. All monitored in real time. And it loads into the the Unity Dash.
For the record, if anyone is interested to get e-mail notifications/alerts on fans dying or temperatures shooting through the roof, I've written a simple service in Perl to do that monitoring for me. I've uploaded the source code and README to Github. I.e. yet another e-mail notification daemon :-) Couldn't find anything similarly trivial in the interwebs, now that sensord is deprecated... = just my two cents worth.
If you use XFCE, I think it`s better to show it in toolbar, like this, use this plugin:
The effect is this:
2: