sensors

Display hardware sensor readings

TLDR

Show current readings of all sensor chips
$ sensors
Show temperatures in Fahrenheit
$ sensors --fahrenheit
Show output in raw format
$ sensors -u
Show only a specific chip
$ sensors [chip_name]

SYNOPSIS

sensors [options] [chip...]

DESCRIPTION

sensors displays the current readings of all sensor chips supported by libsensors. This includes CPU temperatures, fan speeds, voltages, and other hardware monitoring data.The output is organized by chip, showing adapter type and individual sensor readings with current values, limits, and alarm status.

PARAMETERS

-f, --fahrenheit

Show temperatures in Fahrenheit
-u
Raw output format
-A
Do not show chip adapters
-j
Output in JSON format
--no-adapter
Do not show adapter information

CONFIGURATION

/etc/sensors3.conf

Main configuration file for libsensors, defining chip-specific label overrides, compute expressions, and alarm limits.
/etc/sensors.d/
Directory for additional sensor configuration files that supplement the main configuration.

INSTALL

sudo apt install lm-sensors
sudo apk add lm-sensors
sudo zypper install sensors
brew install lm-sensors

CAVEATS

Requires the lm-sensors package. Run sensors-detect first to detect and configure available sensors. Some sensors may require kernel modules to be loaded. Part of the lm-sensors package.

SEE ALSO

sensors-detect(8)