Re: Unix Question
- From: Zhai Jingmin <zhaijm@xxxxxxxxxxxxxxxx>
- To: oracle-l@xxxxxxxxxxxxx
- Date: Wed, 23 Jun 2004 14:23:39 +0800
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@xxxxxxxxxxxxx
>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@xxxxxxxxxxxxx
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
-----------------------------------------------------------------
- Follow-Ups:
- Re: Unix Question
- From: zhu chao
- References:
- Unix Question
- From: Rivaldi Bahar
Other related posts:
- » RE: Unix Question
- » Re: Unix Question
- » RE: Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » RE: Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » RE: Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » Re: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- » Re: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- » RE: Unix Question
- Re: Unix Question
- From: zhu chao
- Unix Question
- From: Rivaldi Bahar