Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have got a linux system, which runs an application. Which meant to utilize all the CPU it can. However, there use to be 0.2% CPU idle. But recently its always 0.0% idle. I noticed on top that SYSTEM% is going high. I think that's what taking 0.2% CPU. This CPU eating application runs as a user.
Now, my question is, is there anyway I can limit a particular user to 80% of CPU. So, that user can never go more than 80% and I will always have some CPU free for SYSTEM.
As for cpu usage you cannot specifically say that a process should use 0% of CPu,etc
You can reduce the priority of process and allow other system processes to use CPU
This can be done with renice command
renice -n 19 pid_of_user_process
If the process is being started then start it with
Of course they have. A project is underway, but is still in development.
Significant patchset against 2.6.17
Yep, you read that right.
Also intersects with cpusets and clustering and various virtual server projects.
Much code that was in kernel space is now in userspace, but the "interested" projects have differing requirements.
Isn't something you can use yet, but will be very handy when polished up.
Much code that was in kernel space is now in userspace, but the "interested" projects have differing requirements. Isn't something you can use yet, but will be very handy when polished up.
That's what is the question. Is there something else I can use. I will have to try that nice "renice" command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.