How to Install and Use Psensor in Linux
Abstract: proceed and install Psensor and its dependencies as shown. $ sudo dnf install lm_sensors hddtemp lm_sensors-devel How to use Psensor FirstCPU usage an
Psensor is a GTK+ application tool used to monitor the temperature. Its graphical interface displays the temperature of the motherboard, CPU, GPU, Hard Disk Drives. Additionally shows the rotational speed of fans and CPU usage. Psensor plots the data on real-time charts and raises alerts.
In this tutorial, we learn how to install Psensor in Linux.
FunctionalitiesPsensor allows you to perform the following functions:
How To Check CPU Temperature in Win...To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video
How To Check CPU Temperature in Windows 11- Checks the temperature of your CPU, hard disk, GPU (NVIDIA), and the entire motherboard.
- Displays the CPU fan speed.
- Checks and prints the CPU usage.
- Plots the temperature data on a chart.
- Provides alarms as a result of critical temperatures and fan speeds.
Psensor relies on two other tools to effectively probe and report on the CPU temperature. It depends on the following:
lm-sensor : Probes and reports on the rotation speeds of the CPU fans.
hddtemp: This obtains the hard disk drive temperature.
To get a holistic report, both of these tools need to be installed.
Debian/Ubuntu distributionsIf you are running Debian 9 and later versions, Ubuntu 18.04 and later, and any newer derivatives of the two, run the APT command as shown to install Psensor and its dependencies.
$ sudo apt install lm-sensors psensor hddtemp
CentOS/RHEL distributions
For RedHat distributions, you need to , first of all , ensure that EPEL repository is enabled as follows:
CentOS 8$ sudo dnf install epel-release
RHEL 8
$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Once EPEL is installed, proceed and install Psensor and its dependencies as shown.
$ sudo dnf install lm_sensors hddtemp lm_sensors-devel
How to use Psensor
First, scan your system for various hardware monitoring chips or sensors. The command determines which modules will be loaded for lm_sensors to work effectively.
$ sudo sensors-detect
This is going to request you to allows autodetection of a myriad of sensors. When prompted, simply type 'YES' and hit ENTER.
sensors-detectDo likewise for all the prompts.
detect hardware components for lm_sensorsOnce the detection is complete, invoke the command below to view the temperature of various CPU cores
$ sensors
sensors command
To start viewing the graphs, press the Super key ( Windows Logo Key ) and search for Psensor as shown.
Note: Using Gnome Desktop on Ubuntu 20.04
Launch PsensorThis launches the Psensor temperature monitor as shown. Ensure that you check all the CPU cores, hard drive and memory options for graphing.
Psensor temperature monitorOn the top bar menu, be sure to locate the Psensor icon. Click on it to reveal the temperature of various CPU cores, CPU usage and hard drive temperature.
Psensor temperature reading and menu optionsTo edit sensor preferences, click on the 'Sensor Preferences' options. You can edit various parameters, for instance setting up the alarm thresholds.
Edit alarm thresholds PsensorAdditionally, you can configure sensor readings to be displayed on the top bar menu for each component by clicking on the 'Application Indicator' tab and checking on the 'Display sensor in the label (Experimental)' option.
Edit Psensor preferencesThis displays the temperature readings on the top bar menu as shown.
temperature label for Psensor top menu bar ConclusionInstalling and using the Psensor tool is quite an easy task. It provides an overviews of the temperature reading of CPU cores, Hard drive and any other chipsets whose temperature can be probed and recorded. Be reminded that this only works on a physical PC and not in a virtual machines since the components are in a virtual state.