Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unix Question
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
>-----------------------------------------------------------------
>
>
>
>
-- 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
![]() |
![]() |