Re: Stopping CPU Hogs...

Kevin Grey (kernellist@kevlar2.ml.org)
Wed, 4 Nov 1998 20:29:03 -0500 (EST)


I believe you're looking for the program 'nice'

~~Kev

On Wed, 4 Nov 1998, John Fulmer wrote:

> Hello!
>
> Is there a way to keep a process from hogging 100% cpu usage? One thing
> that has always bugged me is that a process (oh like, hmmmm, NETSCAPE!)
> can grap 100% cpu for a period of time (usually seconds) and grind the
> system to a halt for that period. I'm familiar with niceness levels, but
> it seems that an ill-behaved process can still jerk the system to a halt
> for a few seconds.
>
> Is there a way to say that any one process or thread can only allocate
> x% of the total cpu usage? I would think that a governor of some sort
> make make linux, especially as a desktop, perform much smoother.
>
> thanks,
>
> jf
>
> --
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> + John Fulmer | "UNIX was not designed to stop +
> + Secure Network System | you from doing stupid things, +
> + Lawrence, Kansas | because that would also stop you +
> + | from doing clever things." +
> + jfulmer@iegroup.com | +
> + http://www.iegroup.com | -- Larry Wall +
> + "The opinions contained above may not reflect those of SNS" +
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/