|
Grex > Jelly > #80: Automatically re-nice long-running processes | |
|
| Author |
Message |
gull
|
|
Automatically re-nice long-running processes
|
Aug 22 17:11 UTC 2007 |
I need a program to automatically re-nice user processes that have
consumed more than a certain amount of CPU time. Poking around, I've
found 'reniced', which re-nices by process name, but that's not quite
what I want.
Before I hack something up in Perl, can anyone suggest a package that
does this? It seems like something that would be fairly commonly wanted
on multiuser systems.
|
| 9 responses total. |
gull
|
|
response 1 of 9:
|
Aug 22 18:05 UTC 2007 |
I also asked on the Debian list, and someone came up with "and" (auto
renice daemon), which looks like it will do what I want.
|
djdoboy
|
|
response 2 of 9:
|
Aug 23 00:18 UTC 2007 |
Are you really this nharmon stupid?
|
unicorn
|
|
response 3 of 9:
|
Aug 23 00:46 UTC 2007 |
Are you as obnoxious and arrogant in person as you are online?
|
djdoboy
|
|
response 4 of 9:
|
Aug 23 01:35 UTC 2007 |
Chuck, pull my finger.
|
twenex
|
|
response 5 of 9:
|
Aug 23 07:42 UTC 2007 |
Re: #3. If he is, I doubt he will be for long. Unless he's rich.
(And he wouldn't get rich by continually posting crap on grex, that's for
sure.)
|
keesan
|
|
response 6 of 9:
|
Aug 23 16:02 UTC 2007 |
Could people please ignore twits? I have filtered responses 2 and 4 but now
I have to read reactions to them.
|
unicorn
|
|
response 7 of 9:
|
Aug 23 18:28 UTC 2007 |
#5: I was actually thinking that if he is, it's no wonder he has to
download porn. :D
|
nharmon
|
|
response 8 of 9:
|
Aug 24 14:35 UTC 2007 |
Not to mention sweep floors for a paycheck.
|
dtk
|
|
response 9 of 9:
|
Jan 7 01:11 UTC 2013 |
You might want to be cautious about this and either whitelist known good
daemons or ignore anything being run by a service-account. Otherwise,
you might wind up cratering SSHD, locking veryone out, and preventing
yourself from fixing. -DTK
|