Skip to main content
51 votes

Find fan speed and cpu temp in Linux

If you would like to try a different option, you can try s-tui, a software we were working on. It is a terminal UI app, so running it over SSH is also possible. It displays CPU temperature, ...
amanusk's user avatar
  • 651
19 votes
Accepted

CPU temperature often reaches 100°C

Whether it’s normal for your system depends on a number of factors; however 100°C is on the high end for a desktop system and you should try to address that. Typically, that would involve improving ...
Stephen Kitt's user avatar
15 votes
Accepted

What is the state of Linux kernel support for Intel Quiet System Technology (Intel QST)?

This answer documents definitive information on Linux support for Intel QST, which was assembled by tracking down archives of the defunct lm-sensors mailing list and directly contacting the authors of ...
Autumn Skye's user avatar
14 votes

CPU temperature often reaches 100°C

Is that normal? No, that's very high. Will CPU hardware itself control the frequency to fit the temperature? Yes, but you don't want that. Going into thermal throttling means you're getting less ...
hobbs's user avatar
  • 1,133
13 votes

CPU temperature often reaches 100°C

Same sensors command should tell that 100°C is the high temperature threshold eg: Core 0: +37.0°C (high = +100.0°C, crit = +100.0°C) Once it reaches the high threshold, in addition to active ...
A.B's user avatar
  • 39.5k
8 votes

CPU temperature often reaches 100°C

In the case of your specific CPU is not normal at all. Make sure that your paste is correctly applied to the CPU and that the heatsink is correctly installed. It must touch the plate surface of the ...
Aherontas's user avatar
7 votes
Accepted

Why can't tree fully list /sys/class/hwmon? And how could I do that?

tree behaves that way because it doesn’t dereference symlinks by default. The -l option will change that: tree -l /sys/class/hwmon/ but you’ll have fun making sense of all the output.
Stephen Kitt's user avatar
7 votes

Debian Stretch / Gnome: disable sensor-based screen rotation

You can disable the rotation sensor with the following commands: sudo systemctl stop iio-sensor-proxy.service sudo systemctl disable iio-sensor-proxy.service or sudo apt-get remove iio-sensor-proxy
Damian vdm's user avatar
7 votes
Accepted

No temperature reading on Ryzen 5700G?

The driver in Linux 5.14 doesn't support these APUs yet, it will be available in 5.15 but you can grab it now and compile in 5.14 (must be safe).
Artem S. Tashkinov's user avatar
6 votes

Find fan speed and cpu temp in Linux

I have used ipmitool from GitHub and freeipmi on my servers, but, well, they're servers, with BMC hardware which supports IPMI. If your PC does, it's a reasonable solution. I run a script which pulls ...
K7AAY's user avatar
  • 3,936
5 votes

Standard way to check the hard drive temperature without installing additional packages

ON linux 5.6+ Use drivetemp module to read disks sensors data using HWMON infrastructure. load module drivetemp: sudo modprobe drivetemp Then you can find the sensor data in /sys/class/hwmon/hwmon*/ ...
mozlima's user avatar
  • 51
5 votes

Find fan speed and cpu temp in Linux

an alternative for lmsensor: install xsensors using sudo apt-get install xsensors
Ahmed K. Moustafa's user avatar
5 votes
Accepted

Change iio-sensors data via custom ACCEL_MOUNT_MATRIX

I just solved this problem for my Lenovo Miix 320. You already have the driver name: udevadm info -n /dev/iio:device0 In your case: KIOX000A Then find out vendor and productname with dmidecode (...
Kristian's user avatar
5 votes
Accepted

How to prevent GPU from overheating and auto turning off

I found the solution, there are some files on /sys/class/drm/card0/device the file pp_dpm_mclk indicates GPU memory clock, and the file pp_dpm_sclk indicates GPU core clock, mine: $ egrep -H . /sys/...
Tiago Pimenta's user avatar
5 votes

CPU temperature often reaches 100°C

Contrary to some other answers, this is normal. According to Intel's Ark page for the 12700K, the Junction Temperature is rated at 100C. The processor has been set to run up to that temperature limit, ...
anjama's user avatar
  • 151
4 votes
Accepted

Which temperature belongs to which sensor?

I can tell you roughly what these sensors are, if that helps: eth0_dsa0-virtual-0 is a temperature sensor on the eth0 device, that is, a motherboard or card LAN adapter. You have two chips on an I2C ...
dirkt's user avatar
  • 33.4k
4 votes

Find fan speed and cpu temp in Linux

i'm use Glances in python. It's a interactive process manager and hardware status. apt install python python-pip; pip install glances; and run with: glances good look ;)
user3727521's user avatar
3 votes
Accepted

Fan constantly running at full speed

It sounds like you are going to have to do some manual intervention to get ACPI working properly with your hardware https://github.com/vmatare/thinkfan/ echo "options thinkpad_acpi fan_control=1" &...
Sokoban's user avatar
  • 46
3 votes
Accepted

How to measure CPU voltage on a 570 motherboard with lm_sensors?

Do you currently have any compute in0 statements in your /etc/sensors.conf, /etc/sensors3.conf or /etc/sensors.d/*.conf that would apply to sensor chip nct6798-isa-0290? If you have, comment them out ...
telcoM's user avatar
  • 114k
3 votes

Find Core temp with sensors command

Looking at man sensors You could use: sensors -j This returns the data formatted in JSON which then could be parsed and trimmed for the values you need.
Advation's user avatar
3 votes
Accepted

How reliable is the program `lm-sensors` in Linux?

It's totally expected for new AMD and Intel CPUs due to their heat density due to very small transistors where billions of them are crammed into very small space. If you don't want to see such high ...
Artem S. Tashkinov's user avatar
3 votes
Accepted

Get content of files with same name in subfolders to obtain a JSON array

Using only jq (twice) and a shell loop: for pathname in /sys/bus/w1/devices/w1_bus_master1/28-*/; do jq -n \ --arg ID "$(basename "$pathname")" \ --arg temp &...
Kusalananda's user avatar
  • 356k
3 votes

Is there any difference between #include <linux/ioctl.h> and #include <sys/ioctl.h>?

sys/ioctl.h is what you’d use when writing a program which relies on ioctl; it defines the ioctl function and ends up including linux/ioctl.h, which defines macros such as _IOR. linux/ioctl.h shouldn’...
Stephen Kitt's user avatar
3 votes

CPU temperature often reaches 100°C

No It's not Ok. having a high temperature on hardware (CPU/GPU) got noting to do with kernel it self it's about the task intensity of the program. compiling a code is a high cpu intensive task. my ...
Hoodad Tabibi's user avatar
3 votes

CPU temperature often reaches 100°C

It's not quite normal. You probably need to set PL1 and PL2 power values to something reasonable in your firmware (BIOS). Some motherboards ship with ridiculously high defaults which basically mean ...
Olivier's user avatar
  • 625
3 votes
Accepted

Probing Hardware for Sensor Data with High Frequency (Temperature and CPU clock frequency)

What is the best way to reduce system-call overhead while reading the files in the pseudo filesystem e.g. hwom ? I'd start with "not caring"; at 1 ms periods, that overhead is measurable¹, ...
Marcus Müller's user avatar
2 votes

Find fan speed and cpu temp in Linux

GUI alternative for sensors command are Psensor and XSensors: sudo apt install xsensors sudo apt install psensor For better detection of your hardware's sensors, you can also run following: sudo apt ...
Pratik's user avatar
  • 123
2 votes

Which temperature belongs to which sensor?

This one-liner displays temperature: paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/' Here are the ...
WinEunuuchs2Unix's user avatar
2 votes
Accepted

Ryzen/Threadripper temperature sensors: Which senors are related to which kernel modules and how to enable them

[deleted answer by OP:] I would still like to know: what exactly is making nct6775 available now? There are a lot of attempts at answering the general question in the following link. Unfortunately ...
sourcejedi's user avatar
  • 53.5k
2 votes

AMD Ryzen 2600 temperature

This is driver of a thermal sensors on processors from AMD-family chips. If you run sensors-detect you should see something like Driver `k10temp' (built-in): * Chip `AMD Family 15h thermal sensors' ...
jimmij's user avatar
  • 48.7k

Only top scored, non community-wiki answers of a minimum length are eligible