How to suspend a process in Mac OSX?
Suspend a resource consuming process on Mac OSX with this simple command.
There are applications that are buggy enough that they go beyond their resource quota and make the operating system look like a culprit. One way of dealing with these issues is to end the misbehaving program, in effect, killing the process. But there are some instances where killing the process is not a reality.

For example, the Firefox browser. With its multi-tab feature it is quite possible that we end up opening far too many tabs and that seems to consume more memory and battery and other resources. When that happens we might think of killing the process but if you use Mac OSX you can suspend the process instead so once you are done with any other work on your computer you can resume the process and continue your work.
You’ll be surprised to see how easy it is to suspend a process in Mac OSX.

For example, to suspend Firefox, open-up Terminal and type-in
killall -STOP firefox-bin

Once suspended you should be able to see the Firefox process being marked in RED with the status of “Not Responding”.
Suspended processes won’t be allocated any CPU cycles and so indirectly will use less resources including battery. You might be seeing the memory still allocated the same on the above screenshot but when there is a demand for more memory then Mac OSX will swap those inactive memory pages.

Then once you are ready to resume using Firefox, type-in the following command on Terminal
killall -CONT firefox-bin

Once resumed the process will be marked as usual as indicated above. You can then continue to use the application.
Process Suspension on Mac OSX is a powerful feature if you know how to use it effectively.
Technorati Tags:
Firefox, How To, Mac, Mac OSX


October 22nd, 2009 at 4:17 am
I tried to the parental controls but it says that i need to specify the parameter and i dont know what to do and i tried with all parameters required, and when i got it it says that the process cannot be found.
October 22nd, 2009 at 11:55 pm
I don't know why this comment came into this post but anyways, if you can be a bit more specific in explaining the problem that you have I may be able to help. Sorry, the information you gave is not enough to conclude a solution.