On Aug 21, 2007, at 8:34 PM, Douglas A. Tutty wrote:
On Tue, Aug 21, 2007 at 11:54:42AM -0700, David Brodbeck wrote:I run a shared system where I'd like to automatically lower the priority of user processes that consume more than a specified about of CPU time. I could hack something up with Perl, ps, and nice, but before I do, does anyone know of a ready-made utility to do this job?Would reniced be of any help?
Hmm. It's not *quite* what I'm looking for -- I want to renice based on CPU time, not process name. But if I don't find anything better, maybe I can modify renice to do what I want.