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.

Mac Activity Monitor.png

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.

Killall STOP command on Mac OSX Terminal.png

For example, to suspend Firefox, open-up Terminal and type-in

killall -STOP firefox-bin

Suspended Process on Mac OSX.png

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.

Killall CONTinue on Mac OSX Terminal.png

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

killall -CONT firefox-bin

Activity Monitor showing process normally.png

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:
, , ,

Related Posts with Thumbnails


Subscribe to our free RSS feed to keep up with what's happening at DemoGeek.com

At DemoGeek.com we try to explain the tech stuffs in as much detail as we can to help the not-so-tech-savvy of our friends understand and follow the tech stuffs.

Share/Save/Bookmark

Subscribe to DemoGeek.com

2 comments so far

  1. anonimous
    #1

    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.

  2. demogeek
    #2

    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.

Leave a Reply





XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

6 Trackbacks/Pings

About DemoGeek.com

DemoGeek.com brings you high quality articles, tutorials and how to's on everything related to Microsoft Windows, Mac OSX, iPhone, Useful Websites, Browsers, Software and Programming.

At DemoGeek.com you'll find step-by-step explanation of the technical issues explained in detail with screenshots and screencasts. Read More...

Contact |  FUG |  Disclaimer

Creative Commons License

Canonical URL by SEO No Duplicate WordPress Plugin