Monitoring CPU temperature and Resources On Linux

Ashish Patel
Codebrace
Published in
2 min readApr 29, 2018

Easy monitoring of resources specially CPU core temperature and utilization of RAM or CPU cores could be very vital for health and maintenance of a system.

Sometimes, our system gets too hot or overloaded which could damage our system.

A good indicator for monitoring temperature, fan speeds and voltage for linux is psensor. It shows output of all sensors, draws graphs. Also selected outputs can be placed in indicator panel.

It can be installed by typing:

sudo apt-get install psensor

Newer versions of psensor can be installed from ppa:

sudo add-apt-repository ppa:jfi/ppa
sudo apt-get update
sudo apt-get install psensor

It can also draw graphs when you tick the boxes in the graph column:

by default it do not show anything on the bar, we have to click on the icon for getting results, fortunately we can further customize it to show all information upfront like i did, for showing temperature for both cores and cpu utilization upfront.

we just need to go to sensor preference and check Display sensor in the lable to true.
Display sensor in menu just makes sure it is shown when we click icon.

we have to check Display sensor in the label property for all resources we wanted to see upfront on the upper bar.

thanks you, please clap if this helps and follow …..

--

--

Ashish Patel
Codebrace

Big Data Engineer at Skyscanner , loves Competitive programming, Big Data.