How to know the temperature of the CPU, VGA card and motherboard on Ubuntu and Debian

Sometimes it is necessary to know the temperature of the CPU, graphics card or motherboard at the moment. In Ubuntu / Linux to do this is quite simple.

So, first install the package lm-sensors.
This is done so

 

After that, the utility must define the device to correctly display the temperature, CPU voltage and speed of cooler.
This is done is also quite simple. Run sensors-detect as follows:

The utility will simply fall asleep questions that should be answered Enter'om (which by default would mean - yes).
At the end of sensors-detect utility will ask for permission to add the necessary monitoring modules at boot time (file / etc / modules), to which must be entered yes

After that, you must restart your computer.

After rebooting, you can use the command sensors (note that it does not require root-powers) to obtain the necessary information on the temperature of the CPU, graphics card and motherboard, CPU voltage and speed of cooler.

 

In my program output sensors displays the temperature of each CPU core (I have them 4), voltage sensors CPU fan speeds (2 of 5), the temperature of the motherboard (+ 29.0 ° C) and GPU (+ 43.5 ° C).