Check fan speed linux

How do I know my fan is working in Ubuntu

I just bought a brand new netbook and am worried the fan isn’t working properly. lm-sensors does not detect a fan, I can’t hear a fan, and can’t feel air blowing out of the fan area. The netbook is a brand new Toshiba Satellite NB10-A. I’m worried that using Ubuntu will destroy my netbook. 🙁 The temperature continues to get hotter, but I can’t hear a fan. Here is my lm-sensors output:

acpitz-virtual-0 Adapter: Virtual device temp1: +33.0°C (crit = +78.0°C) coretemp-isa-0000 Adapter: ISA adapter Core 0: +48.0°C (high = +105.0°C, crit = +105.0°C) Core 1: +48.0°C (high = +105.0°C, crit = +105.0°C) 

EDIT

Another reviewer of this exact model expressed concern over the fan not working as he couldn’t detect a fan nor hear the fan: http://mentalnirex.wordpress.com/2014/03/25/linux-and-the-toshiba-nb10/

Output from fwts fan:

Some of this work - Copyright (c) 1999 - 2014, Intel Corp. All rights reserved. Some of this work - Copyright (c) 2010 - 2014, Canonical. This test run on 14/06/14 at 12:45:01 on host Linux juke 3.15.0-031500rc8-generic #201406012235 SMP Mon Jun 2 02:36:11 UTC 2014 x86_64. Command: "fwts fan". Running tests: fan. fan: Simple fan tests. -------------------------------------------------------------------------------- Test 1 of 2: Test fan status. Test how many fans there are in the system. Check for the current status of the fan(s). PASSED: Test 1, Fan cooling_device0 of type Processor has max cooling state 10 and current cooling state 0. PASSED: Test 1, Fan cooling_device1 of type Processor has max cooling state 10 and current cooling state 0. Test 2 of 2: Load system, check CPU fan status. Test how many fans there are in the system. Check for the current status of the fan(s). Loading CPUs for 20 seconds to try and get fan speeds to change. Fan cooling_device0 current state did not change from value 0 while CPUs were busy. Fan cooling_device1 current state did not change from value 0 while CPUs were busy. ADVICE: Did not detect any change in the CPU related thermal cooling device states. It could be that the devices are returning static information back to the driver and/or the fan speed is automatically being controlled by firmware using System Management Mode in which case the kernel interfaces being examined may not work anyway. ================================================================================ 2 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only. ================================================================================ 2 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only. Test Failure Summary ================================================================================ Critical failures: NONE High failures: NONE Medium failures: NONE Low failures: NONE Other failures: NONE Test |Pass |Fail |Abort|Warn |Skip |Info | ---------------+-----+-----+-----+-----+-----+-----+ fan | 2| | | | | | ---------------+-----+-----+-----+-----+-----+-----+ Total: | 2| 0| 0| 0| 0| 0| ---------------+-----+-----+-----+-----+-----+-----+ 

Источник

Читайте также:  Характеристика сетевой операционной системы linux

How To Display and Change Fan Speed in Ubuntu

You can measure your system performance while measuring fan speed. Sometimes, you need to check and want to display and change your fan speed. The lm_sensors is a Linux monitoring sensor you need to use for displaying the fan speed.

This open-source CLI tool provides drivers and commands for monitoring GPU/CPU fan speed, voltage, and temperature and changing them accordingly. In this guide, we go through the installation process of lm_sensors and explain how to display and change the fan speed in Ubuntu.

How To Display and Change Fan Speed in Ubuntu

You can display the fan speed in Ubuntu by following simple steps. Here, we explain two methods by which you can exactly understand the fan speed and its temperature.

Using Command-Line Interface

You can install the lm-sensors package through the package manager. To install the lm-sensors in Ubuntu, update the database of your system through the following command:

To install lm-sensors in Ubuntu, type and execute the following command:

After the successful installation of lm-sensors, you can generate and detect a list of kernel modules using the following command:

Hardware probing will start after running the previous command. To create the /etc/sensors3.conf file, you must press the Enter key to all the questions. This file starts service automatically at boot time and loads Linux kernel modules.

You can display the /etc/sensors3.conf file using the following cat command:

To display the fan speed in Ubuntu, please type the following command into the terminal:

Читайте также:  Установка кодека для линукс

The previous output shows the fan speed and temperature that you need.

Alternatively, you can use the grep command to filter the previous data.

You can also display the fan speed on the screen using one of the following watch commands:

watch -n1 -d ‘ sensors | grep fan’

watch -n1 -d ‘sensors | egrep «fan|temp» | grep -v «0.0»‘

Using Graphical-User Interface

Ubuntu offers many applications through which you can easily view the fan speed. Several are Psensors, xsensors, plugin, applet, and Plasma 5 applet. You can easily install one and display the fan speed using a graphical user interface.

Now, we will install the Psensor and explain the GUI method by which you can display the fan speed.

First, install the previous application using the following sudo command:

To open the Psensor application, search it in the application menu or execute the following command:

Now, you can easily see the fan speed in Ubuntu by simply opening one application.

You can also install the GKrellM GUI tool to get information about the fan speed to control them. Execute the following command in the terminal to install GKrellM in Ubuntu:

Once you install GKrellM, run the following command in the terminal to open it:

First, right-click on your username and then click on Configuration to configure the tool.

Now, click on the sensors. Here, you can configure the fan speed and control according to your system requirements:

It will help you to change and check the fan speed in Ubuntu.

Conclusion

Checking and controlling the fan speed is easy in Ubuntu because you only need to configure the sensors in the system. In this guide, we explained different methods to display and control the fan speed. First, we installed lm_sensors in the CLI method and saw how you could display the fan speed and other parameters. On the other hand, with the GUI method, you can install any of the applications previously mentioned and measure the fan speed directly through said application.

About the author

Prateek Jangid

A passionate Linux user for personal and professional reasons, always exploring what is new in the world of Linux and sharing with my readers.

Читайте также:  Canon pixma g2411 драйвер linux

Источник

Find fan speed and cpu temp in Linux

What are the commands to find out fan speed and cpu temp in linux (I know lm-sensor can do the task). Is there any alternative for that?

6 Answers 6

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, utilization, frequency and power. Fan speed was also added.

Installation methods are explained on the GitHub Readme. s-tui on GitHub

s-tui screenshot

This is a screenshot of what it looks like

Thanks after many days got a response on question. i was using lm-sensor as suggested by others. will defiantly try this new software. thanks .

Can it log values? I’m facing random hard system crashes, and would like to see if any of fan/temperature etc. correlate.

For CPU temperature:

sudo apt-get install lm-sensors 
sudo yum install lm_sensors 

Type sensors to get CPU temp.

For fan speed:

This will output fan speed

sudo apt-get install psensor 

One can also use hardinfo

sudo apt-get install hardinfo 

The sensors have to be detected first by running sensors-detect after installation (interactive terminal script, just pres Enter on questions and all have to be done automagically). This is needed on CentOS, on Debian configure/reconfigure is fired after install or dpkg-reconfigure psensor).

On my i5-8265U CPU sensors-detect cannot detect the fans, so sensors cannot show them either. I asked for a solution here

In addition to @MilanKerslager point, after sensors-detect has listed your sensors, you need to check that the kernel driver modules are also installed.

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 SDR data on the machine in test (example lines follow)

ti=$(date +%H:%M:%S) pt=$(ipmitool -I open sdr | grep 'PS1 Temp') 

and sends it to the screen as well as to logfile then idles w/ ping for 15 seconds

echo "$ti|$pt" && echo "$ti|$pt" >> logfile && ping -w 15 127.0.0.1 > nul 

before looping around again for another pass.

Источник

Оцените статью
Adblock
detector