faqts : Computers : Programming : Languages : PHP : Database Backed Sites : MySQL : Questions in search of an Answer

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

How do i perform a kill command on a remote unix box ?

Nov 14th, 2001 16:48
Al Ac, aaron aaron, Onno Benschop,


1-telnet to the remote machine (or otherwise get to a remote shell on 
that machine)
2-type: ps ax <Enter>  This shows a list of running processes.
3-Look for the process you want to kill and note its process id on the 
left.
4-type: kill -s 9 <process-id-here> <Enter>
5-do ps ax to check it's no longer running.