powerd(1M)
NAME
powerd − power manager daemon
SYNOPSIS
/usr/lib/power/powerd [ −n ]
DESCRIPTION
The powerd daemon manages two types of system shutdown: automatic shutdown and low power shutdown. Low power shutdown is found on systems which support battery operation.
The daemon reads the automatic shutdown information from the file /etc/power.conf. The daemon will reread the automatic shutdown information whenever it receives a hang-up signal, SIGHUP.
Automatic shutdown can occur only if the following two conditions are met:
• The current time is between the start and finish times.
• The system has been idle for at least the set time period. System idleness is determined by the inactivity of the system. See power.conf(4).
The start and finish times are specified in power.conf(4) and measured from the start of the day (12:00 a.m.). If the finish time is less than or equal to the start time, the active period of the daemon will span from midnight to the finish time and from the start time to the following midnight. To specify continuous operation, the finish time may be set equal to the start time. To disable automatic shutdown, specify noshutdown for the behavior field.
Low power shutdown will occur if the system is running from battery, and the daemon monitors that the charge in the battery is too low to reliably continue operation.
Immediately prior to system shutdown, the daemon notifies syslogd(1M) of the shutdown, which broadcasts a notification.
OPTIONS
The following options are supported:
−n No broadcast mode. The daemon will silently shut down the system without notifying syslogd(1M).
FILES
/etc/power.conf power management configuration information file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWpmu |
SEE ALSO
pmconfig(1M), poweroff(1M), syslogd(1M), power.conf(4), attributes(5), cpr(7), pm(7D)
NOTES
The daemon uses shared memory IPC, which may increase the system image size if the shared memory module has not already been loaded.
The daemon ensures that only one daemon is running. If another daemon is running, then the new daemon will exit with an error. If the daemon dies unexpectedly (non-maskable signal), residual shared memory state will remain. Starting a new daemon will remove this residual state.
SunOS 5.6 — Last change: 17 Apr 1996