Re: Unix Question

  • From: Mladen Gogala <gogala@xxxxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Thu, 24 Jun 2004 23:45:20 -0400

On 06/24/2004 11:12:46 PM, zhu chao wrote:
> depending on the os, you can try killall in linux.

The "init 6" command will also do the trick, if you are logged in as root. 
Of course, if you are on linux, you can try with pkill, which
is described in detail in the place few would bother to look:
man pages. If looking in manual pages is against your beliefs 
for whatever reasons, you might give a try to command like
this:
ps -ef|egrep "PATTERN"|egrep -v "PID|egrep"|awk '{ print $2; }'|xargs kill -9

On the other hand, if you are on a BSD system, then "kill -9 1" or "init q"
will also do the trick. The decision is yours.

-- 
Mladen Gogala
Oracle DBA
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: