power command
This command describes how to control the server power.
Use the power command to control the server power. To issue power commands, you must have the Remote Server Power/Restart Access authority level.
Command | Description | Value |
---|---|---|
power on | Use this command to turn on the server power. | on, off |
power off | Use this command to turn off the server power. Note The | on, off |
power cycle | Use this command to turn off the server power and then turn on the server power. Note The | |
power enterS3 | Use this command to place the operating system into the S3 (sleep) mode. Note This command is used only when the operating system is on. The enterS3 parameter is not supported on all servers. | |
power rp | Use this option to specify the host power restore policy. | alwayson|alwaysoff|restore |
power S3resume | Use this command to wake up the operating system from the S3 (sleep) mode. Note This command is used only when the operating system is on. The S3resume parameter is not supported on all servers. | |
power state | Use this command to display the server power state and the current state of the server. | on, off |
Option | Description | Values |
---|---|---|
-s | Use this option to shut down the operating system before the server is turned off. Note The | |
-every | Use this option with the power on, power off, and power cycle commands to control the server power. You can set up the dates, times, and frequency (daily or weekly) to power on, power off, or power cycle your server. | Note The values for this option are presented on separate lines due to space limitations. Sun|Mon|Tue|Wed|Thu| Fri|Sat|Day|clear |
-t | Use this option to specify the time in hours and minutes to power on the server, shut down the operating system, and power off or restart the server. | Use the following format: hh:mm |
-d | Use this option to specify the date to power on the sever. This is an additional option for the power on command. Note The | Use the following format: mm/dd/yyyy |
-clear | Use this option to clear the scheduled power on date. This is an additional option for the power on command. |
power on
power off [-s]
power state
power cycle [-s]
The following information are examples of the power command.
To shut down the operating system and power off the server every Sunday at 1:30, enter the following command:
system> power off
-every Sun -t 01:30
To shut down the operating system and restart the server every day at 1:30, enter the following command:
system> power cycle
-every Day -t 01:30
To power on the server every Monday at 1:30, enter the following command:
system> power on
-every Mon -t 13:00
To power on the server on Dec 31 2013 at 11:30 PM, enter the following command:
system> power on
-d 12/31/2013 -t 23:30
To clear a weekly power cycle, enter the following command:
system> power cycle
-every clear