Platform Power State Subcommands

The subcommands listed in TABLE F-18allow you to manage the platform power.

TABLE F-18Platform 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.

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

Appendix F Platform Commands 147

Page 169
Image 169
Sun Microsystems V40z, V20Z manual Platform Power State Subcommands, Platform Get Power State Subcommand