powernapd - configurable daemon that will run at a specified
INTERVAL_SECONDS, executing powernap when all of a list of
MONITORED_PROCESSES are missing from the system process table for a
powernapd will run powernap(8) when none of a set of
MONITORED_PROCESSES have executed for some number of ABSENT_SECONDS.
powernapd will check the process table using "ps -eo args" every
INTERVAL_SECONDS. Note that MONITORED_PROCESSES taking less than
INTERVAL_SECONDS to execute may be overlooked by powernapd. Choose
your INTERVAL_SECONDS value accordingly. These parameters are
configured in /etc/powernap/config.
Use "ps -eo args" for sample output and development your regular
It acts as a sort of "screensaver" for servers, watching the process
table for activity, rather than the keyboard or mouse. For instance,
PowerNap can automatically "pm-suspend" a system if no instance of
"kvm" runs for some contiguous block of "300" seconds, checking the
process table every "1" second.
/etc/powernap/action, /etc/powernap/config, /var/run/powernap.pid,
This manpage and the utility was written by Dustin Kirkland
<email@example.com> for Ubuntu systems (but may be used by
others). Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU General Public License, Version 3
published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL.