Sensor Test Command (sensor -d test)
Function
The sensor -d test command is used to simulate the sensor status or value.
Before using this command, run the ipmcget -t sensor -d list command to query the sensor status. Ensure that the sensor is in normal state. If the sensor has a fault alarm, the fault alarm will be generated again after the sensor -d test command is executed.
Format
ipmcset -t sensor -d test -v <sensorname/stopall> [value/stop]
Parameters
Parameter |
Description |
Value |
---|---|---|
sensorname/stopall |
Specifies the sensor name. |
|
value/stop |
Specifies the analog value. |
|
Usage Guidelines
Use the precisealarm command to simulate alarms. For details, see Simulating Events (precisealarm).
Example
# Simulate a CPU1 Core Rem sensor temperature value of 100°C.
iBMC:/->ipmcset -t sensor -d test -v "CPU1 Core Rem" 100
Sensor test successfully.