Scroll to navigation

UESENSOR(8) Linux on Power Service Tools UESENSOR(8)

NAME

uesensor - view the state of system environmental sensors

SYNOPSIS

/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:

3
Thermal sensor
9001
Fan speed sensor
9002
Voltage sensor
9004
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:

9
Critical low
10
Warning low
11
Normal
12
Warning high
13
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:

0
Not present
1
Present and not operational
2
Status unknown
3
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).

OPTIONS

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>
Specify the token of a specific sensor to query. Also requires the -i option to be specified.
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)

May 2004 Linux