(Answer) (Category) SCO(Caldera) UnixWare 7/OpenUNIX 8 FAQ : (Category) System Administration :
How do I find and kill a process?
Let's say that a process called tasker is hung and we need to kill it. Run the command:
       ps -ef | grep tasker | grep -v grep
and get the PID of the process. Let's say the PID is 8376. Type:
       kill 8376           <--  First try this.  It is the nicest kill.
       kill -1 8376        <--  If that doesn't work, try this.
       kill -2 8376        <--  If it is being stubborn, try this.
       kill -9 8376        <--  This will kill anything, but is rough.
After you try the first kill, do another ps -ef to see if the process is still running. If it is try the next kill, and so on.

<mschalit@pacbell.net>
gerberb@zenez.com

[Append to This Answer]
Previous: (Answer) How do I find and kill a background process?
Next: (Answer) What are the various 'kill' command arguments?
This document is: http://www.zenez.com/cgi-bin/ou8faq.org/faq?file=149
[Search] [Appearance]
This is a Faq-O-Matic 2.721.