$linuxjunkies
>

fancontrol(8)

Automatically control fan speeds based on temperature readings from hwmon sensors.

UbuntuDebianFedoraArch

Synopsis

fancontrol [OPTION] [configfile]

Description

fancontrol is a daemon that reads temperatures from hardware monitoring sensors and automatically adjusts fan speeds to maintain safe operating temperatures. It uses a configuration file to define which fans are controlled by which temperature sensors and sets duty cycles or PWM values accordingly.

The daemon continuously monitors sensor readings and adjusts fan speeds using linear interpolation between defined temperature setpoints. It requires proper hardware support through the hwmon kernel module and appropriate sensor configuration.

Common options

FlagWhat it does
-c, --configSpecify the configuration file to use (default: /etc/fancontrol)
-d, --debugEnable debug mode; print verbose output and do not fork to background
-s, --slowdownSlow down fan response (useful for noisy fans or rapid temperature changes)
-l, --logEnable syslog logging of fan control actions
-t, --testTest mode; validate configuration without running the daemon
-h, --helpDisplay help message and exit
-v, --versionDisplay version information and exit

Examples

Start the fancontrol daemon using the specified configuration file

fancontrol /etc/fancontrol

Run fancontrol in debug mode with verbose output; useful for testing configurations

fancontrol -d -c /etc/fancontrol

Test a new configuration file for syntax errors without running the daemon

fancontrol -t -c /tmp/fancontrol.test

Start the fancontrol service (typical on systemd systems)

systemctl start fancontrol

Check if the fancontrol daemon is currently running

ps aux | grep fancontrol

Stop the running fancontrol daemon gracefully

killall fancontrol

Related commands