|UESENSOR(8)||Linux on Power Service Tools||UESENSOR(8)|
NAME¶uesensor - view the state of system environmental sensors
/usr/sbin/uesensor -l | -a /usr/sbin/uesensor -t token -i index [-v]
DESCRIPTION¶The uesensor utility is used to view the state of environmental sensors on PowerPC-64 machines.
There are 4 types of system sensors that can be retrieved with uesensor; each sensor has an identifying token:
- Thermal sensor
- Fan speed sensor
- Voltage sensor
- Power supply sensor
Each sensor is uniquely identified by a combination of token and index number; index numbers start at 0 and are contiguous. For example, the second fan on the system would be identified by token number 9001 and index 1.
The state of each sensor consists of a status and a measured value. The status value is one of the following:
- Critical low
- Warning low
- Warning high
- Critical high
The measured value depends on the type of sensor. Thermal sensors are measured in degrees Celcius; fan speed is measured in revolutions per minute; voltage is measured in millivolts; power supply measurements are defined as follows:
- Not present
- Present and not operational
- Status unknown
- Present and operational
Each sensor is also associated with a location code; this location code may not be unique (for example, there may be multiple voltage sensors on a planar).
- List all the sensors in human-readable format.
- List all the sensors in a tabular, numerical format. One line will be
printed for each sensor in the following format:
<token> <index> <status> <measured_value> <location_code>
- -t token
- Specify the token of a specific sensor to query. Also requires the -i option to be specified.
- -i index
- Specify the index of a specific sensor to query. Also requires the -t option to be specified.
- Print the measured value rather than the sensor status, which is the default value printed. Requires both the -t and -i options to be specified.
SEE ALSO¶usysident(8), usysattn(8)