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:
- You can use the
lm-sensorspackage to check the fan speed of the CPU. To install it, use the commandsudo apt-get install lm-sensors(orsudo yum install lm-sensorson Fedora/CentOS). - After installation, use the command
sensorsto check the current fan speed of the CPU.
GPU fan speed:
- You can use the
nvidia-smicommand to check the fan speed of the GPU. To install it, you need to install NVIDIA GPU driver in your system. - Use the command
nvidia-smi -q -d FANto 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.
n(https://www.vidaliaonion.org/)