sensors: add examples (#23082)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Khushal P Bharadwaj
2026-07-06 23:52:33 +05:30
committed by GitHub
parent aa657a562b
commit 0138d961ee
+21 -1
View File
@@ -10,4 +10,24 @@
- Show temperatures in degrees Fahrenheit:
`sensors --fahrenheit`
`sensors {{[-f|--fahrenheit]}}`
- Show the readings of a specific sensor chip (run `sensors` to find chip name, e.g. coretemp-isa-0000):
`sensors {{chip_name}}`
- Output sensor data in JSON format:
`sensors -j`
- Show raw sensor output for scripting or debugging purposes:
`sensors -u`
- Show sensor readings using a specific configuration file:
`sensors {{[-c|--config-file]}} {{path/to/sensors.conf}}`
- List all detected hardware communication buses (like I2C or ISA):
`sensors --bus-list`