Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unix Question

Re: Unix Question

From: Zhai Jingmin <zhaijm_at_staff.oos.com.cn>
Date: Wed, 23 Jun 2004 14:23:39 +0800
Message-ID: <40D921EB.5010609@staff.oos.com.cn>


Hi,
I do this :

kill -9 `ps -ef | grep finapp |grep -v grep | awk '{print $1}'` or
ps -ef | grep finapp |grep -v grep | awk '{print $1}' | xargs kill -9 when there're a group of processes to kill.Hope useful for you.

Rivaldi Bahar wrote:

>Hi,
>
>I want to create automatic killing process for an
>application. The idea is to get the pid of that process
>and then kill -9 that pid.
>How to get the pid of a specific program ( let's say
>/oraprog/finapp) and then kill that pid ? ( just pid for
>that process, --> manually ps -edf | grep finapp | ps -o
>pid -- always return 2 pid's).
>
>Tia.
>===========================================================================================
>"Gabung INSTANIA, dapatkan XENIA. Daftar di www.telkomnetinstan.com, langsung dapat akses Internet Gratis..
>Dan ..ikuti "Instan Smile" berhadiah Xenia,Tour S'pore, Komputer,dll, info hub : TELKOM Jatim 0-800-1-467826 "
>===========================================================================================
>----------------------------------------------------------------
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>----------------------------------------------------------------
>To unsubscribe send email to: oracle-l-request_at_freelists.org
>put 'unsubscribe' in the subject line.
>--
>Archives are at http://www.freelists.org/archives/oracle-l/
>FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
>-----------------------------------------------------------------
>
>
>
>



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Wed Jun 23 2004 - 01:20:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US