This

service

aid

can

also be

run

as

a command. The command can

be

used

to

list

the

sensors

and

their

values

in

a

text format,

list the

sensors

and

their values in

numerical

format,

or

a

specific

sensor

can

be

queried to return

either

the

sensor

status

or

sensor

value.

 

 

 

 

 

 

 

 

 

 

 

The command can be run by entering one of the following:

 

 

 

 

 

/usr/lpp/diagnostics/bin/uesensor -l -a

 

 

 

 

 

 

 

 

 

/usr/lpp/diagnostics/bin/uesensor -t <token> -i <index> [-v]

 

 

 

 

 

 

Flag

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-l

 

 

List

the

sensors and their values in a text format.

 

 

 

 

-a

 

 

List

the

sensors and

their

values

in a

numerical

format. For each

sensor,

 

 

 

the following numerical values are displayed as:

 

 

 

 

 

 

 

 

<token> <index> <status> <measured value> <location code>

 

 

 

 

 

-t

token

Specifies

the

sensor

token

to

query.

 

 

 

 

 

 

-i

index

Specifies

the

sensor

index

to

query.

 

 

 

 

 

 

-v

 

 

Indicates to return the sensor measured value. The sensor status is

 

 

 

 

returned

by

default.

 

 

 

 

 

 

 

 

 

 

 

Examples

1. Display a list of the environmental sensors:

/usr/lpp/diagnostics/bin/uesensor -l

Sensor = Fan Speed

Status = Normal

Value = 2436 RPM

Location Code = F1

Sensor = Power Supply

Status = Normal

Value = Present and operational

Location Code = V1

Sensor = Power Supply *Status = Critical low

Value = Present and not operational Location Code = V2

2. Display a list of the environmental sensors in a numerical list:

/usr/lpp/diagnostics/bin/uesensor -a

3

0

11

87

 

P1

 

9001

 

0

11

 

2345

F1

9004

 

0

11

 

2

V1

 

9004

 

1

9

2

 

V2

 

9-187046 Model B50 User's Guide

Page 190
Image 190
IBM B50 manual Examples, Token, Index