sensors(1)
Display temperature, voltage, and fan speed readings from hardware sensors.
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
| Flag | What it does |
|---|---|
-A | show only sensor readings, hide bus information |
-u | raw output without limits, one value per line for parsing |
-f | display temperatures in Fahrenheit instead of Celsius |
-c | display temperatures in Celsius (default) |
-a | show all information including chip and bus details |
-s | set sensor values (requires appropriate permissions) |
-h | display help message and exit |
-v | increase verbosity, show additional debug information |
Examples
display all detected hardware sensors and their readings
sensorsshow sensor values without bus or adapter information
sensors -Adisplay temperature readings in Fahrenheit
sensors -fshow readings only from the CPU core temperature sensor
sensors coretemp-isa-0000raw output format showing only temperature-related data
sensors -u | grep -i tempcontinuously monitor sensor readings, updating every 2 seconds
watch -n 2 sensors