This service aid can also be run as a command. Use the command to list the sensorsand 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.Run the command by entering one of the following:Note: These commands work only when the flags are entered one at a time (such asthose shown in Examples 1 and 2)/usr/lpp/diagnostics/bin/uesensor -l | -a /usr/lpp/diagnostics/bin/uesensor -ttoken -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, thefollowing numerical values are displayed as:token index status measuredvaluelocation code-t tokenSpecifies the sensor token to query.-i indexSpecifies the sensor index to query.-v Indicates to return the sensor measured value. The sensor status is returnedby default.Examples1. Display a list of the environmental sensors:/usr/lpp/diagnostics/bin/uesensor -lThis is the result of running the example command only.Sensor = Fan Speed Status = Normal Value = 2436 RPM Location Code = F1Sensor = Power Supply Status = Normal Value = Present and operational LocationCode = V1Sensor = Power Supply Status = Critical low Value = Present and not operationalLocation Code = V22. Display a list of the environmental sensors in a numerical list:/usr/lpp/diagnostics/bin/uesensor -aThis is the result of running the example command only.3 0 11 87 P1 9001 0 11 2345 F1 9004 0 11 2 V1 9004 1 9 2 V23. Return the status of sensor 9004, index 1:/usr/lpp/diagnostics/bin/uesensor -t 9004 -i 1This is the result of running the example command only.4. Return the value of sensor 9004, index 1:Chapter 6. Introducing Tasks and Service Aids 129