LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-07-2003, 12:29 AM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Limit CPU on Certain Apps?


Is there a way to limit the amount of CPU a certain application can take? If so, how?
 
Old 11-07-2003, 01:03 AM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
nice
I never used it, but nice has settings 0-20 0 means normal, the higher the number the lower the priority, 20 will only use cpu when nothing else is.
 
Old 11-16-2003, 02:01 PM   #3
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 30
try man nice
 
Old 11-16-2003, 02:05 PM   #4
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Quote:
but nice has settings 0-20
nice actually has settings (-19) to 20

negative numbers will cause the program to grab a larger share of cpu power than it would otherwise be allowed, and positive numbers cause it to grab less cpu than it would normally be allowed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit Cpu Use Of Threads yakotey Programming 1 10-03-2005 09:12 AM
limit CPU consumption eantoranz Linux - Security 3 07-19-2005 08:32 PM
Limit the performance of CPU? LostIn Linux - Hardware 8 05-23-2005 07:32 PM
How can I limit the CPU usage of a PID? ideasman Linux - Software 1 04-01-2004 07:15 AM
what means cpu limit? joda Linux - General 0 01-15-2004 09:23 AM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration