Main Page | File List | Globals

set_poweron_time documentation

Copyright

Copyright (c) 2004 International Business Machines Common Public License Version 1.0 (see COPYRIGHT)

Overview

The set_poweron_time utility is used to set a time in the future to power on the system. The utility uses firmware interfaces provided by IBM ppc64 systems to provide this functionality.

When used with the -t option, the utility will configure the system to power-on at the specified date and time. This is usefule for specifying that the sysetm should be restarted at 6 AM on Monday morning, for example.

When used with the -d option, the utility will treat the specified time as a delta from the present. This is useful for specifying that the system should be restarted in 2 days, for example.

Times for the -t and -d options should be specified in the following format:
Y<year>M<month>D<day>h<hour>m<minute>s<second>
The month, if specified, should be in the range of 1-12.
The day, if specified, should be in the range of 1-31.
The hour, if specified, should be in the range of 0-23.
The minute and second, if specified, should be in the range of 0-59.

For the -t option:
Year, month, and day default to the current date if not specified.
Hour, minute, and second default to 0 if not specified.

For the -d option:
Year, month, day, hour, minute, and second default to 0 if not specified.

When used with the -m option, the utility will print the maximum amount of time in the future that the power-on time can be set (in days). This option cannot be used with any others.

When used with the -s option, the utility will shut down the system with shutdown -h now after the power-on time has been set. If the utility is unable to set the power-on time for any reason, the system will not be shut down.

Author:
Michael Strosaker <strosake@us.ibm.com>

Generated on Mon Nov 21 16:24:45 2005 for set_poweron_time by doxygen 1.3.8