On Thu, Mar 28, 2002 at 02:58:51AM -0600, aardvarko wrote: > Is there any sort of daemon available that automatically renices processes > matching a regexp? I knew I'd seen something like that once... Looks like this should fit the bill: ~$ apt-cache show and Package: and <snip> Description: Auto Nice Daemon The auto nice daemon activates itself in certain intervals and renices jobs according to their priority and CPU usage. Jobs owned by root are left alone. Jobs are never increased in their priority. . The renice intervals can be adjusted as well as the default nice level and the activation intervals. A priority database stores user/group/job tuples along with their renice values for three CPU usage time ranges. Negative nice levels are interpreted as signals to be sent to a process, triggered by CPU usage; this way, Netscapes going berserk can be killed automatically. The strategy for searching the priority database can be configured. . AND also provides network-wide configuration files with host-specific sections, as well as wildcard/regexp support for commands in the priority database. -- When we reduce our own liberties to stop terrorism, the terrorists have already won. - reverius Innocence is no protection when governments go bad. - Tom Swiss