kill processes using PS

Posted under » Linux on 08 December 2009

Killing a process helps if you know the PID

You can do this by

$ ps -elf | less

You can also find out what is hogging your server resources by using htop. You might need to install it first.

If you know the process then

$ ps -elf | grep tomboy

And to finally kill it, you

$ kill pid // just pid number will do.
$ kill -9 pid // 9 is special Kill signal, which will kill the process.

refer here or here.

For more use of PS click here.

If you already know the name of the process, you can kill it by name by the pkill command.

$ pkill deluged


web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS data