$linuxjunkies
>

sensors(1)

Display temperature, voltage, and fan speed readings from hardware sensors.

UbuntuDebianFedoraArch

Synopsis

sensors [OPTION]... [CHIP]...

Description

The sensors command reads and displays data from hardware monitoring chips like temperature sensors, voltage regulators, and fan controllers. It's part of the lm-sensors package and requires the appropriate kernel drivers to be loaded.

Without arguments, sensors shows all detected sensor readings. You can specify individual chips to display only their data. Output includes raw sensor values and any configured thresholds or alarms.

Common options

FlagWhat it does
-Ashow only sensor readings, hide bus information
-uraw output without limits, one value per line for parsing
-fdisplay temperatures in Fahrenheit instead of Celsius
-cdisplay temperatures in Celsius (default)
-ashow all information including chip and bus details
-sset sensor values (requires appropriate permissions)
-hdisplay help message and exit
-vincrease verbosity, show additional debug information

Examples

display all detected hardware sensors and their readings

sensors

show sensor values without bus or adapter information

sensors -A

display temperature readings in Fahrenheit

sensors -f

show readings only from the CPU core temperature sensor

sensors coretemp-isa-0000

raw output format showing only temperature-related data

sensors -u | grep -i temp

continuously monitor sensor readings, updating every 2 seconds

watch -n 2 sensors

Related commands