No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help
View Responses


Grex Systems Item 80: Automatically re-nice long-running processes
Entered by gull on Wed Aug 22 17:11:36 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.



#1 of 9 by gull on Wed Aug 22 18:05:23 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.


#2 of 9 by djdoboy on Thu Aug 23 00:18:55 2007:

Are you really this nharmon stupid?


#3 of 9 by unicorn on Thu Aug 23 00:46:03 2007:

Are you as obnoxious and arrogant in person as you are online?


#4 of 9 by djdoboy on Thu Aug 23 01:35:38 2007:

Chuck, pull my finger.


#5 of 9 by twenex on Thu Aug 23 07:42:26 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.)


#6 of 9 by keesan on Thu Aug 23 16:02:43 2007:

Could people please ignore twits?  I have filtered responses 2 and 4 but now
I have to read reactions to them.


#7 of 9 by unicorn on Thu Aug 23 18:28:00 2007:

#5:  I was actually thinking that if he is, it's no wonder he has to
download porn.  :D


#8 of 9 by nharmon on Fri Aug 24 14:35:20 2007:

Not to mention sweep floors for a paycheck.


#9 of 9 by dtk on Mon Jan 7 01:11:16 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

Response not possible - You must register and login before posting.

No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss