Chapter 3 Setup
8.14
Special Extended Command
This section describes the special extended command which can perform state acquisition (powerstate,
lampstate) and interrupt generation for OS dump (nmidump). The special extended commands use the
syntaxes different from those of basic commands.
8.14.1 State Acquisition
You can acquire the state of the system at the command prompt:
Important
(1)
Power State acquisition
Power state acquisition command (powerstate) is executable only when current default target is "/admin1" or
"/admin1/system1". Enter the following command, if the current default target is not "/admin1" and "/admin1/system1".
cd /admin1
or
cd /admin1/system1
Enter the following command at the command prompt:
powerstate
One of the following responses is returned according to the power state of the server.
•
power on
System power is on.
•
power off
System power is off.
(2)
Lamp State acquisition
Lamp state acquisition command (lampstate) is executable only when current default target is "/admin1",
"/admin1/system1" or "/admin1/system1/led1". Enter the following command, if the current default target is not
"/admin1", "/admin1/system1" or "/admin1/system1/led1".
cd /admin1
or
cd /admin1/system1
or
cd /admin1/system1/led1
Status LED state acquisition
Enter the following command at the command prompt:
lampstate -statuslamp
One of the following responses is returned according to the STATUS LED state.
•
off
STATUS LED is turned off.
•
green on
STATUS LED lights in green.
Commands to acquire the system state are executable in all user levels.
Express5800/A1040b, A2040b, A2020b, A2010b User's Guide
8. SMASH-CLP
433