Kill Processes via SSH
(Monday, June 08, 2009, at 10:36 AM)
So, say something is going pear-shaped in your server? Processes got you down? Just kill them.
>> ps -eaf
UID PID PPID C STIME TTY TIME CMD
gonkclub 25341 17920 0 10:24 pts/2 00:00:00 -bash
gonkclub 15546 10564 7 10:25 ? 00:00:00 Passenger ApplicationSpawner: /home/.mija/gonkclub/devingaffney.com/httpdocs
gonkclub 86 1 2 10:25 ? 00:00:00 Rails: /home/.mija/gonkclub/devingaffney.com/httpdocs
gonkclub 9440 25341 0 10:25 pts/2 00:00:00 ps -eaf
>> kill 15546
And that should solve it.