Sensor Set Subcommand

Description: Allows you to set some of the data associated with a specific sensor or a class of sensors.

Format

Command format:

sensor set [{-i --id} SENSOR_ID [{-i --id} SENSOR_ID] …] {[{-C --crithigh} VALUE] [[{-c --critlow} VALUE]

[{-W --warnhigh] VALUE] [{-w --warnlow} VALUE] [{-v --value} {onoff}] {-r --reset}}

sensor set [{-t --type] TYPE_ID] {[{-C --crithigh} VALUE] [[{-c --critlow} VALUE] [{-W --warnhigh] VALUE] [{-w --warnlow} VALUE] [{-v --value} {onoff}] {-r --reset}}

sensor set [{-R --resetall}]

TABLE G-4lists the arguments for this subcommand.

TABLE G-4Arguments for Subcommand sensor set

Arguments

Description

 

 

{-i --id}

Specifies the specific sensor on which to operate. You can specify

 

multiple sensors by repeating --id.

{-t --type}

Specifies the specific sensor class on which to operate (for

 

example, fan, voltage and so on).

{-C --crithigh}

Specifies the critical high threshold value for the sensor.

 

• Setting the string to clear disables the threshold.

 

• Setting the string to reset sets the value to the original

 

factory-specified value.

 

• If the value specified ends in a percent sign (%), the threshold

 

is set to that percentage of the nominal value for the sensor.

 

• Any other value is interpreted as the actual value to which to

 

set the threshold.

{-c --critlow}

Specifies the critical low threshold value for the sensor. Setting the

 

string to clear disables the threshold.

{-W -warnhigh}

Specifies the warning high threshold value for the sensor. Setting

 

the string to clear disables the threshold.

{-w --warnlow}

Specifies the warning low threshold value for the sensor. Setting

 

the string to clear disables the threshold.

 

 

158 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004

Page 180
Image 180
Sun Microsystems V20Z, V40z manual Sensor Set Subcommand, Table G-4lists the arguments for this subcommand