How to automatically renice a command that is running for longer than a certain amount of time?
scott
redhowlingwolves at nc.rr.com
Sun May 30 04:25:25 UTC 2010
On 05/29/2010 10:59 AM, Peng Yu wrote:
> I could use renice when I find a program that runs for too long. But
> I'm wondering if there is a more intelligent way so that the system
> can automatically detect a program that runs for a long time and
> automatically renice it?
>
It sounds to me like you may need to adjust the niceness level of some
apps or drivers. Figure out which of the above is regularly being
reniced and change their niceness level via nice.
You might want to look at setrlimit. also.
More information about the ubuntu-users
mailing list