Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: UNIX question(killing a process)
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C04BB4.6EDC9730
Content-Type: text/plain
Yes i got it.Let me put it this way:
how to find the processes which are in hung state and wait for 15 minutes to see if there is any change in the status and then kill that process?
cheers,
/uma
> ----------
> From: Suzy Vordos[SMTP:lvordos_at_datsit.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Friday, November 10, 2000 11:18 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: UNIX question(killing a process)
>
>
> Just because a process is idle, doesn't mean it should be killed. If
> you're trying to manage idle database connections, do this by setting
> IDLE_TIME in the user's PROFILE. Rarely, if ever, do I kill an Oracle
> process at the OS level.
>
> Suzy
>
> > Uma Sankara_Sivadanam wrote:
> >
> > Hi,
> >
> > Environment:SUNOS 5.6
> >
> > I am working on a script which should check for processes using
> > ps and kill all the processs which are IDLE for more than 15
> > minutes.
> >
> > I need the exact syntax of the PS command(i mean the command
> > options).
> >
> > cheers
> > /uma
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Suzy Vordos
> INET: lvordos_at_datsit.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
------_=_NextPart_001_01C04BB4.6EDC9730
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =charset=3DUS-ASCII">
<TITLE>RE: UNIX question(killing a process)</TITLE> </HEAD> <BODY>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Yes i got it.Let me =
put it this way:</FONT>
<BR> <FONT COLOR=3D"#0000FF" =
SIZE=3D2 FACE=3D"Arial">how to find the processes which are in hung =
state and wait for 15 minutes to see if there is any change in =
the status and then kill that process?</FONT></P>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">cheers,</FONT> <BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">/uma</FONT> </P> <UL> <P><FONT SIZE=3D1 FACE=3D"MS Sans Serif">----------</FONT> <BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">From:</FONT></B> = <FONT SIZE=3D1 FACE=3D"MS Sans Serif">Suzy =Vordos[SMTP:lvordos_at_datsit.com]</FONT>
<P><FONT SIZE=3D2 FACE=3D"Arial">Just because a process is idle, =
doesn't mean it should be killed. If</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">you're trying to manage idle database =
connections, do this by setting</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">IDLE_TIME in the user's =
PROFILE. Rarely, if ever, do I kill an Oracle</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">process at the OS level.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Suzy</FONT> </P>
<P><FONT SIZE=3D2 FACE=3D"Arial">> Uma Sankara_Sivadanam =
wrote:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> =
Hi,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> =
Environment:SUNOS 5.6</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> I =
am working on a script which should check for processes using</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> ps =
and kill all the processs which are IDLE for more than 15</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> =
minutes.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> I =
need the exact syntax of the PS command(i mean the command</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> =
options).</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> =
cheers</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> = /uma</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">-- </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Please see the official ORACLE-L = FAQ:</FONT><U> <FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial"><A =HREF=3D"http://www.orafaq.com" =
<BR><FONT SIZE=3D2 FACE=3D"Arial">-- </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Author: Suzy Vordos</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> INET: =lvordos_at_datsit.com</FONT>
<P><FONT SIZE=3D2 FACE=3D"Arial">Fat City Network =
Services -- (858) 538-5051 FAX: (858) =
538-5051</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">San Diego, =
California -- Public Internet =
access / Mailing Lists</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">---------------------------------------------------------=-----------</FONT>