Sun Microsystems V40Z Server User Manual


 
Appendix F Platform Commands 147
Platform Power State Subcommands
The subcommands listed in TABLE F-18 allow you to manage the platform power.
The subcommand platform set power state does not affect the platform if the
platform is already on; if the platform is off, it powers on and boots the OS. In other
words, the subcommand platform set power state ensures that the platform
is on, but does not reboot it if it is not on.
The subcommand platform set os state waits for the platform to boot; the
subcommand platform set power state only waits for the power to come on.
Platform Get Power State Subcommand
Description: Provides the ability to determine the platform power state from within
a script (whether the platform is on or off).
Format
Command format:
platform get power state
TABLE F-18 Platform Power State Subcommands
Subcommand Description
platform get power state Provides the ability to determine the platform power state
(for example, whether it is on or off).
platform set power state Provides the ability to turn the platform power on or off.