Psensor - A Hardware Temperature Monitoring Tool for Linux
Jun 18, 2025 am 09:18 AMPsensor is a GTK (Widget Toolkit for creating Graphical User Interface) based application software that is used to monitor hardware temperature and plot Real-Time graphs from the obtained data for quick review.
Features of Psensor
- Show the temperature of the motherboard, CPU, GPU (Nvidia), and Hard Disk Drives.
- Show CPU fan speed.
- Psensor is capable of showing remote server temperature and fan speed.
- Show Linux CPU usage as well.
- In fact, Psensor will detect any supported hardware and report the temperature as text and over a graph automatically.
- All the temperatures are plotted in one graph.
- Alarms and Alerts ensure you don’t miss critical system hardware temperature and fan speed-related issues.
- It is easy to configure and use.
Dependencies
- lm-sensor and hddtemp – Psensor depends upon these two packages to get the reports about temperature and fan speed.
- psensor-server – It is an optional package, which is required if you want to gather information about remote server temperature and fan speed.
Installation of Psensor in Linux
As I said above the Psensor program depends on lm-sensor and hddtemp packages and these two packages must be installed on the system in order to install Psensor.
Install lm-sensors in Linux
Most of the popular Linux distributions offer these two packages from the default repository, but on RHEL-based distributions, you need to install and enable epel-release repository to get these packages.
<code># yum install epel-release # yum install lm_sensors lm_sensors-devel hddtemp</code>
Note: If you are using Fedora Linux, replace yum with dnf in the above command. On Debian-based distributions, you can install from the default repository using the following apt command.
<code>$ sudo apt install lm-sensors hddtemp</code>
On Arch and OpenSuse, you can install it as shown.
<code>$ sudo pacman -S lm-sensors hddtemp [On <strong>Arch Linux</strong>] $ sudo zypper install lm-sensors hddtemp [On <strong>OpenSUSE</strong>] </code>
Install Psensor on Linux
Once these two dependencies are installed on the system, you can install Psensor on Debian-like systems, Arch, and OpenSuse using the following command.
<code>$ sudo apt install psensor [On <strong>Debian-based Systems</strong>] $ sudo pacman -S psensor [On <strong>Arch Linux</strong>] $ sudo zypper install psensor [On <strong>OpenSUSE</strong>] </code>
Unfortunately, on RedHat alike systems, Psensor isn’t available from the default system repository, and you need to compile it from the source as shown below.
<code># yum install gcc gtk3-devel GConf2-devel cppcheck libatasmart-devel libcurl-devel json-c-devel libmicrohttpd-devel help2man libnotify-devel libgtop2-devel make </code>
Next, download the most recent stable Psensor (i.e. version 1.2.1) source tarball and compile it using the following commands.
<code># wget https://wpitchoune.net/psensor/files/psensor-1.2.1.tar.gz # tar zxvf psensor-1.2.1.tar.gz # cd psensor-1.2.1/ # ./configure # make # make install</code>
Install Psensor Server – optional, which is required only if you want to see the temperature and fan speed of the remote server.
<code># apt install psensor-server</code>
Note: The Psensor Server package is only available under Debian alike systems; there aren’t any binary or source packages available for RedHat systems. Psensor – Monitor Linux Hardware Temperature from CLI
It is an optional but suggestive step you should run sensors-detect
as root to diagnose the hardware by sensors and type the default option 'Yes'
until you know what you are doing.
<code># sensors-detect</code>
Again optional step, but for the suggestive setup you should run sensors
, as root to display the temperature of various hardware devices from the command line. All these data will be used for Psensor.
<code># sensors</code>
Psensor – Monitor Linux Temperature from GUI
Run Psensor from the desktop Application Menu to get the graphical view.
Check mark all the Sensors to plot the graph. You may notice the color codes.
Psensor Customization in Linux
Go to Menu Psensor → Preferences → Interface. From here, you can have options for Interface related customization, Temperature Unit, and Sensor Table Position.
Under Menu Psensor → Preferences → Startup. From here, you can configure Launch/Hide at Startup and Restore Window Position and Size.
Under the Hood Graph (Psensor → Preferences → Graph), you may configure Foreground/Background Color, Monitoring Duration, Update Interval, etc.
You may configure Sensors Settings under (Psensor → Preferences → Sensors).
The last tab (Psensor → Preferences → Providers) provides you with Enable/Disable configuration for all the sensors.
You may do sensor Preferences under (Psensor → Sensor Preferences).
Conclusion
Psensor is a very useful tool that lets you see those gray areas of system monitoring which is often overlooked i.e., Hardware temperature monitoring. Overheating, Hardware may damage that particular hardware, and other hardware in the surrounding or may crash the whole system.
No, I am not thinking from a financial perspective. Think of the value of Data that might lose and the cost and time it will take to build the system again. Hence it is always a good idea to have a tool like Psensor beside ourselves to avoid any such risk.
The above is the detailed content of Psensor - A Hardware Temperature Monitoring Tool for Linux. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

LXD is described as the next-generation container and virtual machine manager that offers an immersive for Linux systems running inside containers or as virtual machines. It provides images for an inordinate number of Linux distributions with support

When encountering DNS problems, first check the /etc/resolv.conf file to see if the correct nameserver is configured; secondly, you can manually add public DNS such as 8.8.8.8 for testing; then use nslookup and dig commands to verify whether DNS resolution is normal. If these tools are not installed, you can first install the dnsutils or bind-utils package; then check the systemd-resolved service status and configuration file /etc/systemd/resolved.conf, and set DNS and FallbackDNS as needed and restart the service; finally check the network interface status and firewall rules, confirm that port 53 is not

If you find that the server is running slowly or the memory usage is too high, you should check the cause before operating. First, you need to check the system resource usage, use top, htop, free-h, iostat, ss-antp and other commands to check CPU, memory, disk I/O and network connections; secondly, analyze specific process problems, and track the behavior of high-occupancy processes through tools such as ps, jstack, strace; then check logs and monitoring data, view OOM records, exception requests, slow queries and other clues; finally, targeted processing is carried out based on common reasons such as memory leaks, connection pool exhaustion, cache failure storms, and timing task conflicts, optimize code logic, set up a timeout retry mechanism, add current limit fuses, and regularly pressure measurement and evaluation resources.

As a system administrator, you may find yourself (today or in the future) working in an environment where Windows and Linux coexist. It is no secret that some big companies prefer (or have to) run some of their production services in Windows boxes an

Frankly speaking, I cannot recall the last time I used a PC with a CD/DVD drive. This is thanks to the ever-evolving tech industry which has seen optical disks replaced by USB drives and other smaller and compact storage media that offer more storage

In Linux systems, 1. Use ipa or hostname-I command to view private IP; 2. Use curlifconfig.me or curlipinfo.io/ip to obtain public IP; 3. The desktop version can view private IP through system settings, and the browser can access specific websites to view public IP; 4. Common commands can be set as aliases for quick call. These methods are simple and practical, suitable for IP viewing needs in different scenarios.

Built on Chrome’s V8 engine, Node.JS is an open-source, event-driven JavaScript runtime environment crafted for building scalable applications and backend APIs. NodeJS is known for being lightweight and efficient due to its non-blocking I/O model and

Data replication is the process of copying your data across multiple servers to improve data availability and enhance the reliability and performance of an application. In MySQL replication, data is copied from a database from the master server to ot
