Powered by Blogger.

Thursday, January 28, 2010

Kill all the process in a determined application

This command will be very useful when you are running programs which tend to drag on the system resources. Open terminal and type:

ps aux c

It will show you a complete list of running processes. The first column contain the user owner of the process, the second one is the PID of the process and if we jump to the last column we will see the name of the application which belong to each processes. If the application you want to kill is, for example, Firefox, then it would be:

ps aux c | grep firefox and then write kill -9. The next time you do a ps aux c | grep firefox, this program shouldn’t appear anymore.

0 comments

Post a Comment