This discussion is archived
32824 Views 8 Replies Latest reply: Apr 22, 2008 2:01 PM by JeffCMKRNL
Currently Being ModeratedApr 19, 2008 5:03 PM (in response to BDAqua)That looks like what I am looking for.
I tried it but I could not get it to work. I think it is because of the "utility" argument. At first I used the path to the handbrake application. This is what I tried and the error I received:
Arakis:~ jeff$ nice 10 /Applications/HandBrake/HandBrake.app
nice: 10: No such file or directory
What is meant by the "utility" argument?Dual PowerMAC G5, G5 Mac Mini, CoreDuo MacBook, Mac OS X (10.4.9)
Currently Being ModeratedApr 20, 2008 8:50 PM (in response to JeffCMKRNL)you have to refer to the process by its ID. Go to the Activity Monitor (Apps>Utilities) and find handbrake and its ID. Use renice to re-prioritize an already-running process--nice is to start the process from the terminal.
To set it to its lowest priority:
sudo renice 20 2933
where 2933 is the process' ID (change it to yours). 0 priority is default, -20 is highest.MacBook Pro 2.2, Mac OS X (10.5)
Currently Being ModeratedApr 21, 2008 1:02 PM (in response to BDAqua)That is exactly how I did it. I did have a space after the 10, and I dragged the application to the terminal window, and it responded with the "Not found" error message.
I will try the renice when I get home tonight. At work I am using Windows 2000 and Lotus notes (AAAArrrrgh!). I also support 4 PDP-11s and 6 antique VAX systems and an old Stratus.
I have renamed the title of my position to "Paleocybernetic Systems Administrator".Dual PowerMAC G5, G5 Mac Mini, CoreDuo MacBook, Mac OS X (10.4.9)
Currently Being ModeratedApr 22, 2008 8:46 AM (in response to carillonator)I tried this and it did not complain with an error message but I see no evidence via Activity Monitor that it did anything!
I am still seeing 0% Nice CPU in the CPU tab of Activity Monitor
and Handbrake is still using 150% of CPU (I guess this is possible because of dual core CPU).
How do we know that the renice did anything?iMac, Mac OS X (10.5.1)
Currently Being ModeratedApr 22, 2008 2:01 PM (in response to polyglotinc)Well, I think it worked, but I'm not seeing the processing being registered as "nice" cpu usage, so I am not sure.
I could not find a way in the activity monitor to display process priority. Is there a way to view the current priority either in Activity Monitor, or in Terminal?
JeffDual PowerMAC G5, G5 Mac Mini, CoreDuo MacBook, Mac OS X (10.4.9)