limit processor usage by %

Jim Higson jh at 333.org
Sun Sep 26 00:47:37 UTC 2004


On Sunday 26 September 2004 00:28, Francisco Figueiredo Jr. wrote:
> Hi all,
>
> I'd like to know if there is some way I could limit the processor usage
> of an application.
>
> I mean, I have a cpu eat application but I'd like to give it just 30% of
> my processor. Is there some way I could do that?
>
> I saw ulimit, but it limits the processor usage by time.
>
> I did a search in google and found that:
> http://www.tls-technologies.com/CPU/cpu-intro.html
>
> But it is only for 2.4 kernel. I'm using fc2 with 2.6.7.1 kernel.
>
> Could you help me?
>
> Thanks in advance.
>
> Regards,
>
> Francisco Figueiredo Jr.

I think SELinux lets you do this





More information about the fedora-list mailing list