I'm using Linux Mint and I'm looking for a way to monitor the temperatures of my CPU and GPU. In Windows, I was familiar with using HWmonitor for this purpose. Is there a similar tool available for Linux that can help me keep an eye on those temperatures?
5 Answers
I use Mangohud with a configuration tool called Goverlay. It offers plenty of info during gaming sessions, though I let my BIOS handle the cooling settings. If you're having trouble setting it up, make sure to check that any dependencies are properly installed.
I recommend installing 'btop'. It's a nice tool that provides an overview of all system metrics, including temperatures! You can install it using 'sudo apt install btop'. Just a heads up, it gives you live monitoring but won't log the highest temperatures.
If you're looking for something more visual, setting up Conky could be a good option. It can display temperatures directly on your desktop, so you can keep an eye without opening a separate window.
For a more custom solution, you can create a function in your terminal to read CPU temperatures from system files. Here's a quick script you could use:
```bash
get_temp() {
for zone in /sys/class/thermal/thermal_zone*/temp; do
[ -f "$zone" ] && awk '{printf "%.1f°Cn", $1/1000}' "$zone" && return
done
echo "N/A"
}
```
Just add that to your .bashrc to easily check temperatures later.
You can check CPU temperatures with the command 'sensors' and for your GPU, 'nvidia-smi' is the way to go. If you want to keep these readings updated, you can use the 'watch' command to refresh the output every few seconds.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures