beautypg.com

Examples – IBM Enterprise Server H80 Series User Manual

Page 143

background image

Examples

The following are examples of ways you can use the Display System Environmental
Sensors service aid.

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

3. Return the status of sensor 9004, index 1:

/usr/lpp/diagnostics/bin/uesensor -t 9

4 -i 1

9

4. Return the value of sensor 9004, index 1:

/usr/lpp/diagnostics/bin/uesensor -t 9

4 -i 1 -v

2

Chapter 6. Introducing Tasks and Service Aids

127