FUJITSU SPARC ENTERPRISE M4000 User Manual
Page 119

poweroff(8)
System Administration
115
EXAMPLE 3
Turns off power to domains with domain IDs 1. An error occurs because the
user has no control privilege.
EXAMPLE 4
Forcibly turns off power to domains with domain IDs 0.
EXAMPLE 5
Turns off power to domains with domain IDs 2.
Automatically replies with
'y' to the prompt.
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.
XSCF>
poweroff -d 1
DomainIDs to power off:01
Continue? [y|n]:
y
01:Not powering off:Permission denied.
*Note*
This command only issues the instruction to power-off.
The result of the instruction can be checked by the "showlogs power".
XSCF>
poweroff -f -d 0
DomainIDs to power off:00
The -f option will cause domains to be immediately resets.
Continue? [y|n]:
y
00:Powering off
*Note*
This command only issues the instruction to power-off.
The result of the instruction can be checked by the "showlogs power".
XSCF>
poweroff -y -d 2
DomainIDs to power off:02
Continue? [y|n]:
y
02:Powering off
*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