Innerhalb
Nach weiteren Dokumenten suchen
Support-Ressourcen
| Dieses Buch im PDF-Format herunterladen
NAME
- powerd - power manager daemon
SYNOPSIS
-
/usr/lib/power/powerd [ -n ]
AVAILABILITY
-
SUNWpmu
DESCRIPTION
- This daemon manages two types of system shutdown. The two types of shutdown are automatic shutdown, set on a daily basis, and low power shutdown on systems which supports battery operation. If the system suspend module, cpr(7), is present, it will be used to shut the system down, otherwise the poweroff(1M) utility will be used. The auto-shutdown information is read from the file /etc/power.conf by the daemon. It is reread whenever the daemon receives a hangup signal, SIGHUP.
- Automatic shutdown can occur when two conditions are met. The current time is between the start and finish times, and the system has been idle for at least the set time period. System idleness is determined by inactivity on the console keyboard and mouse.
- The start and finish times are specified in the file in 24-hour time notation, measured since the start of the day (12:00 am). 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. Thus to specify continuous operation, the finish time may be set equal to the start time. Specifying a negative idle time, disables automatic shutdowns from occurring.
- 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 the notification.
OPTIONS
-
- -n
- No broadcast mode. The daemon will shutdown the system silently without notifying syslogd (1M).
FILES
-
/etc/power.conf
- used to obtain the current daemon autoshutdown settings
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 (nonmaskable signal) then residual shared memory state will remain. Starting a new daemon will remove this residual state.
SEE ALSO
-
cpr(7), pm (7),pmconfig(1M), power.conf(4), poweroff(1M), syslogd (1M)
|
|