RE: Unix Question

  • From: Michael Milligan <Michael.Milligan@xxxxxxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 25 Jun 2004 09:19:11 -0500

Can't help slipping in an insult, can you Mladen?

-----Original Message-----
From: Mladen Gogala [mailto:gogala@xxxxxxxxxxxxx]
Sent: Thursday, June 24, 2004 9:45 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: Re: Unix Question



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
-----------------------------------------------------------------


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.
----------------------------------------------------------------
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: