How to find fan speed in Linux for CPU and GPU

To find the fan speed in Linux for the CPU and GPU, you can use the following commands:

CPU fan speed:

  1. You can use the lm-sensors package to check the fan speed of the CPU. To install it, use the command sudo apt-get install lm-sensors (or sudo yum install lm-sensors on Fedora/CentOS).
  2. After installation, use the command sensors to check the current fan speed of the CPU.

GPU fan speed:

  1. You can use the nvidia-smi command to check the fan speed of the GPU. To install it, you need to install NVIDIA GPU driver in your system.
  2. Use the command nvidia-smi -q -d FAN to check the GPU fan speed.

Note: The above commands may vary depending on the Linux distribution you are using.

It’s worth mentioning that some GPUs and motherboards may not support the feature of checking fan speed.

(https://www.vidaliaonion.org/)

Leave a Comment