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

Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL Newbie Question

Re: PL/SQL Newbie Question

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Sun, 08 May 2005 15:46:47 -0700
Message-ID: <1115592165.925251@yasure>


Ed_Zep wrote:

> Hello.
>
> We are running Solaris 2.8 and Oracle RDBMS 9.2.0.4.
> I need to audit the amount of SQL*Net sessions open at a regular
> interval and also how many of those are a particular user (INTERNET).
>
> I was going to set up a table and have the PL/SQL procedure update it
> but I know nothing about PL/SQL and was wondering if anyone could tell
> me a way of doing this?
>
> I need to be able to record total sessions open, amount of INTERNET
> users logged in and the date.
>
> Hope someone can help with this.
>
> Many thanks.

AUDIT as Sybrand suggests.
Query v$session perhaps with DBMS_JOB
Use a LOGON trigger.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Sun May 08 2005 - 17:46:47 CDT

Original text of this message

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