PROPHET/OS
NAME
sensors: what this machine knows about its own health, one row per source
SYNOPSIS
sensors [--tui]
DESCRIPTION
What this machine knows about its own health, one row per source.
Until this tool the answer was edac and nothing else: machine checks and corrected memory errors. There was no temperature, no voltage, no current, no fan and no battery anywhere in the tree.
Source names where a number would come from. cpu.core and cpu.package are the digital readout of the CPU itself, cpu.tjmax the point at which it throttles, and every acpi.* row comes out of the thermal zones the firmware declares in its bytecode: tmp is the temperature right now, crt the point at which the firmware switches the machine off, psv where passive cooling starts, fan whether the zone names a device that cools actively.
Kind is what the number would be: temp, fan, volt, curr, batt. Reading carries it in degrees Celsius with one place, or -.
**A source that is not there keeps its row**, greyed out, and What it says gives the reason in words. That is the whole shape of this table. There are two reasons a row can be empty and they are not the same: the machine has no such sensor, or this kernel cannot read the one it has. CPUID leaf 6 reports no digital thermal sensor is the first, a Method: this kernel evaluates no AML is the second, and only a row that stays can say which.
The second one is the standing limit. A thermal zone keeps _CRT and _PSV as plain numbers in the bytecode, and those are read; _TMP is almost always a Method, because the current temperature has to be fetched from the embedded controller, and this kernel carries no evaluator for AML and does not get one for a temperature. So the trip points of a real machine stand here and the live reading does not. Under a hypervisor neither does: the firmware of a virtual machine declares no thermal zone at all, and the thermal bits are masked out of CPUID.
The line above the table is the coverage: how many sources there are, how many say a number, how many are absent. On a machine where the second number is zero, that is the finding and not a fault of this tool.
The rows come out of /state/sensors and need no right: a temperature is not the innards of the kernel. Without the file this says one line and ends with 1 instead of showing a table of no rows.
--tui takes the whole screen and keeps the rows live; the arrows and the two page keys move, q leaves.
EXAMPLE
$ sensors 8 sources, 0 with a reading, 8 absent, and the vote over the two readings of the die Source Kind Reading What it says cpu.tjmax temp - CPUID leaf 6 reports no digital thermal sensor cpu.core temp - CPUID leaf 6 reports no digital thermal sensor cpu.package temp - CPUID leaf 6 reports no digital thermal sensor acpi.thermal temp - the firmware declares no thermal zone acpi.battery batt - no _BST: this machine declares no battery acpi.fan fan - no _FST: no fan reports a speed board.voltage volt - no reader: no table and no MSR says a voltage board.current curr - no reader: this platform reports no current cpu.vote temp - empty, 0 of 0 reading(s) of the die, 0 thousandt