PDA

View Full Version : [ubuntu] Freeze application on purpose (?)


Keio
April 10th, 2009, 12:30 PM
Hello,
Do you know when an application says "Not Responding"? Well.. I need to do it on purpose.

So, do you know any way that could let me freeze any (or a specific one) application whenever I need it to and then unfreeze it again when I want?

Thank you :)

Peasantoid
April 10th, 2009, 12:32 PM
kill -STOP <pid>
or:
killall -STOP <name>
Replace -STOP with -CONT to unfreeze.

Keio
April 10th, 2009, 12:38 PM
Thank you very much for your answer. Very usefull. :)

Keio
April 10th, 2009, 12:47 PM
Sorry, I actually need to stop a flash application inside firefox (or any browser) is there a pid for the flash plugin?

If a freeze firefox, well.. it only freezes firefox, not the plugins.

EDIT: If you want to freeze the flash plugin freeze npviewver.bin