How to Get Sensor Monitor Working in Ubuntu 18.04
My first attempt to get a proper sensor monitor running on Ubuntu 18.04 felt like wrestling a greased pig in a mud puddle. I spent hours, honestly, probably close to six, poring over forums and wikis that seemed to be written in ancient Sanskrit. It was maddening. I just wanted to see my CPU temps, my fan speeds, and maybe the health of my drives without having to resort to some clunky, proprietary software that looked like it was designed in 1998.
Most guides online are either too basic, assuming you’ve never touched a command line, or they’re wildly outdated, pointing you to packages that haven’t been updated since Ubuntu 14.04 was a thing. It’s like trying to find a decent recipe for bread when all you have is a picture of a loaf from a magazine ten years ago.
The struggle to get a sensor monitor working in Ubuntu 18.04 is real, and frankly, most of the advice out there is garbage. I’m going to tell you what actually works, based on my own painful journey.
The Real Reason Your Sensor Monitor Isn’t Working
Let’s be blunt: the biggest hurdle when you’re trying to get sensor monitor working in Ubuntu 18.04 isn’t a complex configuration file or a missing driver. More often than not, it’s simply that the tools you’re trying to use are either deprecated, poorly maintained, or you’re missing a fundamental package that everything else relies on. I remember one particular afternoon where I installed three different sensor utilities, rebooted twice, and still saw nothing but generic readouts. The frustration was so thick you could practically taste it, like burnt toast.
This isn’t like trying to set up a smart plug; it’s Linux. Things can be fiddly. You need the right *foundation* before you can even think about the fancy dashboard. I wasted about $40 on a supposedly ‘universal’ hardware monitoring app that claimed to work on Linux, only to find out it hadn’t been updated since before Ubuntu 16.04. What a joke.
Core Packages You Actually Need
Forget the fancy graphical tools for a second. If you want to get sensor monitor working in Ubuntu 18.04, you absolutely *must* have the right command-line utilities installed. These are the building blocks. The most important one is `lm-sensors`. This package is your gateway to reading hardware sensor data. It’s the grandfather of most other monitoring tools on Linux.
To install it, open your terminal (Ctrl+Alt+T, as you probably know by now). Type `sudo apt update` first, always. Then, `sudo apt install lm-sensors`. This will pull in `lm-sensors` and any dependencies it needs. Don’t skip the `sudo apt update` part; it’s like trying to bake a cake without preheating your oven. You’ll just end up with a mess.
Running the Sensors Detection Tool
After installing `lm-sensors`, you need to run a detection script. This script probes your hardware to figure out which sensors are available and how to read them. It’s not always perfect, but it’s usually pretty good. Type `sudo sensors-detect` into your terminal and hit Enter. You’ll be asked a series of questions. For most users, accepting the default answers (just pressing Enter) is perfectly fine. It’s like letting a mechanic check under the hood; you trust them to know what they’re doing, mostly.
This process can take a minute or two. You might see it detect different chipsets and interfaces. Pay attention to any warnings, but don’t panic if you see things it can’t identify. The goal is to get the ones that *matter* for CPU temperature, fan speed, and voltage. After it finishes, it’ll tell you whether to accept the new sensor configuration. Say yes.
Making Sense of the Output
Now for the fun part: seeing the data. Type `sensors` in your terminal. If `sensors-detect` worked correctly, you should see a list of readings. These will typically include CPU core temperatures, GPU temperatures (if detected), fan RPMs, and voltage readings. The format can look a bit raw, like looking at a spreadsheet before it’s been formatted, but the numbers are there. If you see readings like `Core 0: +45.0°C (high = +80.0°C, crit = +100.0°C)`, you’re on the right track. The `+45.0°C` is your current temperature. The `high` and `crit` are warning thresholds. (See Also: How To Put 144hz Monitor At 144hz )
I recall one time, after finally getting `sensors` to display something, I was still confused about what the numbers meant. I thought a high voltage reading was a bad thing, like a red flashing light on a car dashboard. Turns out, it was just within the normal operating range. It’s about understanding the context, not just seeing the digits.
Choosing Your Monitoring Interface
Okay, so you’ve got the raw data. That’s great, but staring at a terminal isn’t always ideal. You want a graphical interface, right? This is where things get a bit more subjective, and where I’ve seen people waste money on flashy dashboards that are more trouble than they’re worth.
The Old Guard: `htop` and `nmon`
Before I go into GUI tools, let’s not forget the powerhouses of the terminal. `htop` is fantastic for CPU and memory usage, and while it doesn’t directly show sensor temps in its default view, it’s a must-have for general system monitoring. `nmon` is another beast entirely – it can show you a boatload of system statistics, including some sensor data, in a text-based interface. They’re like the trusty old hammer and screwdriver in your toolbox; not flashy, but they get the job done reliably.
To install `htop` and `nmon`:
- Run `sudo apt update`
- Install with `sudo apt install htop nmon`
Then, just type `htop` or `nmon` in the terminal to run them. `nmon` has different modes for different data; press `c` for CPU, `m` for memory, `d` for disk, `t` for sensors. It’s a bit of a learning curve, but incredibly powerful.
Gui Options: What Actually Works
This is where most people get lost. There are tons of GUI tools out there, and frankly, many of them are abandonmentware. My personal favorite, and the one that has consistently worked without me wanting to throw my monitor out the window, is **`psensor`**. It’s clean, it displays everything you need (CPU temp, GPU temp, fan speed, HDD/SSD temps), and it’s reasonably well-maintained.
Installing and Configuring Psensor
To install `psensor`, first make sure your `lm-sensors` are set up from the previous steps. Then, run:
sudo apt install psensor
Once installed, launch `Psensor` from your application menu. It should automatically pick up the sensor data from `lm-sensors`. If it doesn’t, you might need to go into its preferences and ensure the correct sensor drivers are enabled. This is usually a simple checkbox or dropdown selection. I found that on my specific setup with an older Nvidia card, I had to manually enable the Nvidia sensor support within Psensor’s preferences. It was tucked away under the ‘Sensors’ tab, a bit obscure, but once I found it, my GPU temp showed up instantly. (See Also: How To Switch An Acer Monitor To Hdmi )
What I like about `psensor` is that it doesn’t try to do too much. It’s not trying to be an operating system. It just shows you your sensor data. You can set up alerts if temperatures get too high, which is actually useful. Unlike some other tools that bombard you with cryptic error messages, `psensor` feels like it’s designed by someone who actually uses a computer.
The Pitfalls of Other Gui Tools
I’ve tried at least five other graphical monitors on Ubuntu 18.04, and they were all nightmares. One kept crashing every ten minutes. Another one displayed temperatures that were wildly inaccurate – my CPU would be showing 20°C while my room was clearly warmer than that. It was like trying to get fashion advice from a scarecrow. The common advice to just install the ‘latest’ tool from a PPA is often a trap because those PPAs might not be updated for your specific Ubuntu version or the underlying libraries.
My Personal Mistake: Overcomplicating Things
My biggest screw-up was thinking I needed some super-advanced monitoring suite with network graphing and predictive failure analysis. I ended up installing a tool that required compiling from source, fiddling with dependencies that felt like a Russian nesting doll of broken libraries, and it still didn’t show my fan speed correctly. After about three evenings of hair-pulling, I realized I was chasing a unicorn. I had spent upwards of $90 testing different proprietary solutions before I even bothered to look at the free, open-source options properly. It was a classic case of shiny object syndrome.
Troubleshooting Common Issues
So, you’ve installed `lm-sensors` and `psensor`, but you’re still not getting readings, or they seem wrong. What now? This is where the real detective work begins.
1. Kernel Modules Not Loaded
Sometimes, the necessary kernel modules for your specific hardware aren’t loaded automatically. You can check this by running `lsmod | grep sensor` or `lsmod | grep coretemp` (for Intel CPUs). If you don’t see anything, you might need to load them manually. The `sensors-detect` script *should* have handled this, but sometimes it misses things. You can try `sudo modprobe coretemp` (for Intel) or `sudo modprobe nct6775` (for some Supermicro/Asus boards) and then run `sensors` again. The specific module name depends heavily on your motherboard and CPU. It’s like trying to find the right key for a very old, ornate lock; you might have to try a few before one fits.
2. Bios/uefi Settings
This is less common, but occasionally, certain hardware monitoring features can be disabled in your system’s BIOS or UEFI settings. Reboot your computer and enter your BIOS/UEFI setup (usually by pressing DEL, F2, F10, or F12 during boot). Look for any options related to ‘Hardware Monitoring’, ‘Sensor Configuration’, or similar. Make sure they are enabled. It’s a bit like making sure the power switch on a device is actually flipped on before you complain that it’s not working.
3. Specific Hardware Quirks
Some hardware simply doesn’t play nicely with open-source drivers, especially older or very niche components. For example, getting accurate readings from certain RAID controllers or specialized server hardware can be a nightmare. The Linux kernel community is amazing, but they can’t anticipate every single piece of hardware that’s ever been made. If you have very specific or unusual hardware, you might need to dig into bug reports for `lm-sensors` or your specific motherboard model to see if others have found workarounds. This is often where you find a gem of a forum post from seven years ago with the exact solution you need.
4. Using the Right `sensors-Detect` Options
While accepting defaults usually works, sometimes `sensors-detect` might not probe all necessary I2C/SMBus addresses. If you’re comfortable with the command line, you can re-run `sudo sensors-detect` and this time pay closer attention to the output. It will list the addresses it’s checking. If you see a particular address range missing that’s known to be used by your motherboard chipset (you’d have to research this), you can manually tell `sensors-detect` to check it. This feels like performing surgery on your system, but can fix stubborn issues.
Ubuntu 18.04 Specifics: What You Need to Know
Ubuntu 18.04 LTS (Bionic Beaver) is an older release. While it’s still supported for security updates, many of its core packages are also older. This is both a blessing and a curse when it comes to hardware monitoring. The good news is that `lm-sensors` and `psensor` were mature and well-tested by the time 18.04 was released, so they generally work without major issues. The kernel version in 18.04 is also reasonably modern for its time and supports most common sensor chips. (See Also: How To Monitor My Sleep With Apple Watch )
The primary challenge with Ubuntu 18.04 is that PPAs (Personal Package Archives) and third-party repositories might not be as actively maintained for this version anymore. So, if you encounter a guide suggesting you add a PPA for a newer version of `psensor` or `lm-sensors`, be very cautious. It’s generally safer to stick with the versions available in the official Ubuntu 18.04 repositories if you can. Trying to force newer software onto an older system can lead to dependency hell, which is a special kind of IT purgatory.
Comparing Monitoring Tools
Here’s a quick rundown of how some common monitoring tools stack up for Ubuntu 18.04, based on my experience:
| Tool | Type | Ease of Use | Features | Verdict |
|---|---|---|---|---|
| `lm-sensors` (command line) | CLI | Moderate | Raw data, scripting potential | Essential foundation. Can’t live without it. |
| `htop` | CLI | Easy | CPU, memory, processes | Must-have for general system health. |
| `nmon` | CLI | Moderate | Extensive system stats, incl. sensors | Powerful, but steep learning curve for full potential. |
| `Psensor` | GUI | Easy | CPU, GPU, fan, HDD temps, alerts | My go-to for easy visual monitoring. Reliable. |
| GNOME System Monitor | GUI | Easy | CPU, memory, network, disk activity | Good for general use, but lacks deep sensor detail. |
| Conky | Desktop Widget | Hard | Highly customizable text/graphical display | For the dedicated tinkerer who wants data on their desktop. Not for beginners. |
Community Advice vs. Reality
You’ll see a lot of advice about using tools like `sysstat` for performance monitoring, which is fantastic for tracking trends over time. And it is. However, for day-to-day, at-a-glance sensor monitoring, `sysstat` alone doesn’t give you that immediate temperature read like `psensor` does. The common wisdom is often to use a suite of tools, which is correct, but people often forget to mention how to get the *basic* sensor readings working first. It’s like telling someone to build a skyscraper when they haven’t even poured the foundation yet.
When All Else Fails
If you’ve followed all the steps and you’re still getting nowhere with how to get sensor monitor working in Ubuntu 18.04, it might be time to consider a different approach. Sometimes, a specific piece of hardware is just problematic on Linux, especially if it’s very new or proprietary. In those rare cases, you might have to accept that you won’t get perfect readings for *every* single sensor.
The most important thing is to get the critical data: CPU temperature and fan speeds. If you have those, you’re mostly covered for general system health. Don’t get bogged down in trying to monitor every single voltage rail or obscure sensor unless you have a very specific, professional reason to do so. For most users, `lm-sensors` and `psensor` are more than enough.
Verdict
So, there you have it. Getting a sensor monitor working in Ubuntu 18.04 isn’t some dark art, but it does require a bit of patience and knowing where to look. The key is `lm-sensors` as the foundation, and then a user-friendly front-end like `psensor` to make it all readable. Don’t get swayed by overly complex or outdated advice; stick to the basics that have proven reliable.
Remember to run `sudo apt update` and `sudo apt install lm-sensors` first, then `sudo sensors-detect`, and finally `sudo apt install psensor`. That sequence has saved me hours of frustration across multiple machines.
The journey to how to get sensor monitor working in Ubuntu 18.04 often involves a bit of trial and error, but by focusing on the core tools and understanding what each step does, you’ll get there without too much pain. Keep those temperatures in check.
Recommended For You


![EggMazing Easter Egg Mini Decorator Kit Arts and Crafts Set - Includes Egg Decorating Spinner and 6 Markers - Ages 3 and Up [Packaging May Vary]](https://m.media-amazon.com/images/I/41MEqCyv1QL.jpg)
