I have a background process running at 100% CPU on Mac OS X. All other applications are very slow because of it.
I'd like to set this process to take no more than 50% so that my applications can run better. How can I do this?
From the command line (
The default priority is zero, positive values are "nicer" (that is lower priority) and negative values are "less nice" (higher priority). Looks like Mac OS runs from +10 to -10.
The part you're interested in here is the
Note: Without superuser privileges you can never increase a process's priority. For normal users,
You can use the command:
If it is a system process or another user process you should type:
It will ask you for your password (if you are sudoer). As for the number I would recommend 10 or 19 (even lower priority).
Note that this will change the priority not the CPU usage. If you aren't running other processes which require CPU or you have more than one CPU on your Mac (Core 2 Quad Core) the process might still use 100% of CPU.
There are also a number of GUI utilities, like the free BeNicer and Process Wizard (my previous favorite), and the $1.99 version of Freezer, which is my new favorite. These all work on running applications.