poweroff(8)
102 SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised January 2007
EXAMPLE 6 Turns off power to domains with domain IDs 2. Automatically replies with
'y' without displaying the prompt.
EXAMPLE 7 Cancels the poweroff(8) command execution that is in progress.
EXAMPLE 8 Cancels the poweroff(8) command execution that is in progress. Automati-
cally replies with 'n' to the prompt.
EXAMPLE 9 Cancels the poweroff(8) command execution that is in progress. Automati-
cally replies with 'n' without displaying the prompt.
EXIT STATUS The following exit values are returned:
SEE ALSO poweron(8), reset(8), showdomainstatus(8)
*Note*
This command only issues the instruction to power-off.
The result of the instruction can be checked by the "showlogs power".
XSCF>
poweroff -q -y -d 2
XSCF>poweroff -d 0
DomainIDs to power off:00
Continue? [y|n]:n
XSCF>poweroff -n -d 3
DomainIDs to power off:03
Continue? [y|n]:n
XSCF>poweroff -q -n -d 3
0 Successful completion.
>0 An error occurred.