poweroff(8)
System Administration 101
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.
*Note*
This command only issues the instruction to power-off.
The result of the instruction can be checked by the "showlogs power".
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