Skip to main content
48 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
  • 621
43 votes
Accepted

Find fan speed and cpu temp in Linux

For CPU temperature: On Debian: sudo apt-get install lm-sensors On Centos: sudo yum install lm_sensors Run using: sudo sensors-detect Type sensors to get CPU temp. For fan speed: sensors | grep -i ...
Rahul's user avatar
  • 568
14 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 ...
Parker's user avatar
  • 799
11 votes
Accepted

How to adjust NVIDIA GPU fan speed on a headless node?

The following is a simple method that does not require scripting, connecting fake monitors, or fiddling and can be executed over SSH to control multiple NVIDIA GPUs' fans. It has been tested on Arch ...
Aleksandr Dubinsky'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,866
6 votes
Accepted

Adjust fan speed via Fancontrol according to hard disk temperature (Hddtemp)

I finally found a simple script to control fan speed according to hard drive temperature via Fancontrol, Hddtemp, and Lm-sensors. In the following script, “/dev/sda” is the hard disk to be monitored, ...
Matthew Wai's user avatar
5 votes

How to adjust NVIDIA GPU fan speed on a headless node?

I've written a pip-installable Python script to do something similar to @AlexsandrDubinsky's suggestion. When you run fans.py, it sets up a temporary X server for each GPU with a fake display ...
Andy Jones'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
Accepted

Multiple Linux distros break BIOS fan control?

Please check the BIOS setting before installing Linux. The common BIOS optiona for Linux installation is to enable CSM support and select UEFI and legacy support option in the boot device control. ...
Sivamani V's user avatar
5 votes
Accepted

Is there a general command line tool to manage fan speed?

I've solve this using lm_sensors as suggested by @bananguin. Here is an explanation for the basic usage: To install on CentOS: sudo yum install lm_sensors To set this up: sudo sensors-detect This will ...
Kevin Lemaire's user avatar
5 votes
Accepted

Restart fan manually in Linux

Using the following line allows me to restart the fan without suspending my laptop. echo disable | sudo tee /proc/acpi/ibm/fan; sleep 5; echo enable | sudo tee /proc/acpi/ibm/fan Thanks to @Stephen ...
stackunderflow's user avatar
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
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
4 votes
Accepted

Laptop fan always says it's running at 8 RPM

Partial answer: From your dmesg, thinkpad_acpi gets loaded. I had a quick look at the kernel source code, and there don't seem to be any fan related messages it outputs. However, some comments in ...
dirkt's user avatar
  • 32.5k
3 votes
Accepted

How to change the system cooling policy on Linux Mint Debian laptop

Note before starting: This functionality depends on both your hardware and software. If your hardware doesn't support fan speed controls, or doesn't show them to the OS, it is very likely that you ...
somethingSomething's user avatar
3 votes

How to get chip name for lm-sensors

If you just start sensors, its output will include the chip names if the appropriate kernel modules are loaded: ↪ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +27....
Wieland's user avatar
  • 6,519
3 votes

How to stop CPU fan in Linux?

If the CPU fan (or any other fan) is very loud, and even stops over periods of time, that means the oil inside has run dry, or possibly the bearing is already damaged. Try lubricating it, or replace ...
dirkt's user avatar
  • 32.5k
3 votes

Unable to find explanations about "fanX_div" setting (lm-sensors)

Some sensor chips use a clock divisor, so that they can store fan speeds using only 8 bits. The fanX_div setting allows this divisor to be set, on chips that support it. If your chip reports something ...
Stephen Kitt'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

How to lock fan speed for amd gpu in Ubuntu 20.04?

I wanted to lock fans at 80% but in a slightly different manner. I've changed nothing in /sys/class/drm/. Just readlink -f /sys/class/drm/card1/device , where card1 is my amd videocard. Thus I know ...
alex's user avatar
  • 31
2 votes
Accepted

Monitoring CPU fan speed on Lenovo system x3650 m5 (8871) on RHEL7

Your system has a correctly configured BMC with IPMI support, so you should be able to use ipmitool locally to extract all the monitoring information supported by your BMC: yum install ipmitool ...
Stephen Kitt'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

Fan speed is not constant

Try installing fancontrol package and use sudo pwmconfig there is a tutorial to change fan settings here : Control fan speed Youtube video Edit 1: According the video you first install lm-sensors ...
Ahmed K. Moustafa's user avatar
2 votes

How to adjust NVIDIA GPU fan speed on a headless node?

Based on answers to this question and similar StackExchange questions, I wrote a shell script that will set the fan speed to 100 (or whatever value you want) to all of your fans on all of your GPUs on ...
James Mishra's user avatar
2 votes

Adjust fan speed via Fancontrol according to hard disk temperature (Hddtemp)

I found Mathew Wai's answer really good, but I ran into some issues with drives sleeping and temperature data corruption. This has been stable for me: FILE=/tmp/Hddtemp while true do temperature=$...
josefwells's user avatar
2 votes

Laptop fan always says it's running at 8 RPM

I contacted Lenovo support and they said the current (and latest) version of my laptop's BIOS doesn't support fan control.
zjeffer's user avatar
  • 445
2 votes

thinkfan specifics: manual + auto configutration, if laptop restart needed

You can manually control fanspeed without thinkfan. First set fan_control=1 as you have. Then cat /proc/acpi/ibm/fan will tell you the current fan speed/level and also available fan levels. Those ...
dog_welder's user avatar
2 votes
Accepted

HP ProLiant Server with centOS no fans detected

Welcome to Unix & Linux StackExchange! HP uses a proprietary fan controller system in their servers, that is not supported by lm-sensors at all. In some models, the fan control is partially ...
telcoM's user avatar
  • 99.4k
2 votes
Accepted

How do I set my GPU's fan curve when using Nouveau?

https://wiki.archlinux.org/index.php/nouveau#Fan_control As for the fan curve, man fancontrol : https://wiki.archlinux.org/index.php/fan_speed_control#Fancontrol_(lm-sensors)
Artem S. Tashkinov's user avatar
2 votes
Accepted

Is it normal for GPU to overheat during boot with fans running max

This is normal, yes, within reason. After reset, no power-saving mechanisms are enabled. They are enabled later on, usually by the driver loaded by the operating system.
Hermann's user avatar
  • 6,207

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