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 admin user time out

RE: Unix admin user time out

From: Glenn Travis <Glenn.Travis_at_wcom.com>
Date: Wed, 05 Jul 2000 12:00:18 -0400
Message-Id: <10549.111226@fatcity.com>


Better grab the tty too (muliple logins)...

> -----Original Message-----
> From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of guy ruth
> hammond
> Sent: Tuesday, July 04, 2000 4:38 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Unix admin user time out
>
>
> Steff Gonos wrote:
>
> > Does anyone have any scripts that could do this ?
> > I realize that I have other options, like ask her
> > not to do this, or leave my session up and prevent her
> > from jumping on, but there are a few others who need
> > to use it also.
>
> I guess you could write a cron job to parse the output of the 'w'
> command, which has a column for idle time, and if it exceeds a
> threshold, try kill -KILL `ps -ef|awk '($1 == $USERNAME) { print $2 }'`
>
> g
>
>
> --
> guy ruth hammond <grh_at_agency.com> | One is punished for being
> Technology Analysis & Consulting | weak, not for being cruel.
> 07879607148 http://www.agency.com | -- Baudelaire
> --
> Author: guy ruth hammond
> INET: grh_at_agency.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).
Received on Wed Jul 05 2000 - 11:00:18 CDT

Original text of this message

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