A P P E N D I X G

Sensor Commands

The sensor command reports or sets the value of an environmental sensor or control.

TABLE G-1lists the groups of sensor subcommands.

TABLE G-1Sensor Subcommand Groups

Subcommand Group

Description

 

 

 

sensor

get

Returns all data associated with a sensor.

sensor

set

Sets some of the data associated with a specific sensor or a class of

 

 

sensors.

 

 

 

Note – Every command returns a return code upon completion.

Note – There are some sensors whose value does not change, some that are there to provide information in the event of a problem, and others to facilitate the proper operation of the software.

Many of these sensors do not have a related component (parent) associated with them. For example, the die-temperature sensor for a CPU has the CPU as its parent component, and a fan speed sensor has the fan as its parent component; the product-id sensor, however, only reports a static value and has no parent relationship.

This relationship establishes the component(s) which is affected by changes in the value of the sensor. You cannot modify the thresholds for sensors without a parent relationship since an event will never occur for these threshold crossings.

153

Page 175
Image 175
Sun Microsystems V40z, V20Z manual Sensor Commands, Table G-1Sensor Subcommand Groups