dbTalk Databases Forums  

Measure User Connections

comp.database.oracle comp.database.oracle


Discuss Measure User Connections in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
qa4ever
 
Posts: n/a

Default Measure User Connections - 09-27-2005 , 01:21 PM






Hi

How do I log (to ascii file) or monitor active concurrent database
connections to a database and server instance ?

Question relates to both Windows and Unix server.
Assume latest version of Oracle.

I want to avoid installing an extensive amounts of tools, just using default
setup tools

If you're familiar to DB2 I would the same kind of answer for it.

Thank you,
QA4Ever



Reply With Quote
  #2  
Old   
Jim Kennedy
 
Posts: n/a

Default Re: Measure User Connections - 09-27-2005 , 08:42 PM







"qa4ever" <qa4ever (AT) hotmail (DOT) co.uk> wrote

Quote:
Hi

How do I log (to ascii file) or monitor active concurrent database
connections to a database and server instance ?

Question relates to both Windows and Unix server.
Assume latest version of Oracle.

I want to avoid installing an extensive amounts of tools, just using
default
setup tools

If you're familiar to DB2 I would the same kind of answer for it.

Thank you,
QA4Ever


This is an Oracle newsgroup not a DB2 newsgroup. In Oracle you can have a
logon trigger.
(and a logoff trigger)
Jim




Reply With Quote
  #3  
Old   
qa4ever
 
Posts: n/a

Default Re: Measure User Connections - 09-28-2005 , 12:52 PM



Hi All/Jm

Yes I know this is an Oracle newsgroup, thank you for pointing that out ;-)

Could you or somebody else give me some more info on how to create that
trigger or if there is a simpler way of just call some SQL statement that
returns number of users, for example in MS SQL Server you "execute stored
procedure sp_who" and it will list all currently logged on users.

Thank you,
QA4Ever



Could you give
"Jim Kennedy" <kennedy-downwithspammersfamily (AT) attbi (DOT) net> wrote

Quote:
"qa4ever" <qa4ever (AT) hotmail (DOT) co.uk> wrote in message
news4g_e.147196$dP1.504078 (AT) newsc (DOT) telia.net...
Hi

How do I log (to ascii file) or monitor active concurrent database
connections to a database and server instance ?

Question relates to both Windows and Unix server.
Assume latest version of Oracle.

I want to avoid installing an extensive amounts of tools, just using
default
setup tools

If you're familiar to DB2 I would the same kind of answer for it.

Thank you,
QA4Ever



This is an Oracle newsgroup not a DB2 newsgroup. In Oracle you can have a
logon trigger.
(and a logoff trigger)
Jim





Reply With Quote
  #4  
Old   
qa4ever
 
Posts: n/a

Default Re: Measure User Connections - 09-28-2005 , 01:27 PM



Is there a free online knowledgebase that one can search if you get stuck on
the Oracle dialect of the SQL language?

Found the online search resource for DB2 and SQL Server but none for Oracle.

Thanks,
QA4Ever


"qa4ever" <qa4ever (AT) hotmail (DOT) co.uk> wrote

Quote:
Hi All/Jm

Yes I know this is an Oracle newsgroup, thank you for pointing that out
;-)

Could you or somebody else give me some more info on how to create that
trigger or if there is a simpler way of just call some SQL statement that
returns number of users, for example in MS SQL Server you "execute stored
procedure sp_who" and it will list all currently logged on users.

Thank you,
QA4Ever



Could you give
"Jim Kennedy" <kennedy-downwithspammersfamily (AT) attbi (DOT) net> wrote in message
news:eqCdndYUv401aaTeRVn-rg (AT) comcast (DOT) com...

"qa4ever" <qa4ever (AT) hotmail (DOT) co.uk> wrote in message
news4g_e.147196$dP1.504078 (AT) newsc (DOT) telia.net...
Hi

How do I log (to ascii file) or monitor active concurrent database
connections to a database and server instance ?

Question relates to both Windows and Unix server.
Assume latest version of Oracle.

I want to avoid installing an extensive amounts of tools, just using
default
setup tools

If you're familiar to DB2 I would the same kind of answer for it.

Thank you,
QA4Ever



This is an Oracle newsgroup not a DB2 newsgroup. In Oracle you can have
a
logon trigger.
(and a logoff trigger)
Jim







Reply With Quote
  #5  
Old   
Matthias Hoys
 
Posts: n/a

Default Re: Measure User Connections - 09-28-2005 , 02:37 PM




"qa4ever" <qa4ever (AT) hotmail (DOT) co.uk> wrote

Quote:
Is there a free online knowledgebase that one can search if you get stuck
on
the Oracle dialect of the SQL language?

Found the online search resource for DB2 and SQL Server but none for
Oracle.

Thanks,
QA4Ever

http://tahiti.oracle.com
Free registration needed

HTH
Matthias





Reply With Quote
  #6  
Old   
Jim Kennedy
 
Posts: n/a

Default Re: Measure User Connections - 09-28-2005 , 08:28 PM




"qa4ever" <qa4ever (AT) hotmail (DOT) co.uk> wrote

Quote:
Is there a free online knowledgebase that one can search if you get stuck
on
the Oracle dialect of the SQL language?

Found the online search resource for DB2 and SQL Server but none for
Oracle.

Thanks,
QA4Ever


"qa4ever" <qa4ever (AT) hotmail (DOT) co.uk> wrote in message
news:uLA_e.34861$d5.190077 (AT) newsb (DOT) telia.net...
Hi All/Jm

Yes I know this is an Oracle newsgroup, thank you for pointing that out
;-)

Could you or somebody else give me some more info on how to create that
trigger or if there is a simpler way of just call some SQL statement
that
returns number of users, for example in MS SQL Server you "execute
stored
procedure sp_who" and it will list all currently logged on users.

Thank you,
QA4Ever



Could you give
"Jim Kennedy" <kennedy-downwithspammersfamily (AT) attbi (DOT) net> wrote in
message
news:eqCdndYUv401aaTeRVn-rg (AT) comcast (DOT) com...

"qa4ever" <qa4ever (AT) hotmail (DOT) co.uk> wrote in message
news4g_e.147196$dP1.504078 (AT) newsc (DOT) telia.net...
Hi

How do I log (to ascii file) or monitor active concurrent database
connections to a database and server instance ?

Question relates to both Windows and Unix server.
Assume latest version of Oracle.

I want to avoid installing an extensive amounts of tools, just using
default
setup tools

If you're familiar to DB2 I would the same kind of answer for it.

Thank you,
QA4Ever



This is an Oracle newsgroup not a DB2 newsgroup. In Oracle you can
have
a
logon trigger.
(and a logoff trigger)
Jim






otn.oracle.com and free registration.
select * from v$session; will tell you what sessions are logged on.You can
look at the Oracle Reference Guide, the V$ tables. The SQL Reference book
and the create trigger command will tell you all about creating triggers.
Look at logon and log off triggers.

Jim




Reply With Quote
  #7  
Old   
SEJ
 
Posts: n/a

Default Re: Measure User Connections - 12-08-2005 , 05:35 AM



Hi

you could set audit_trail=true, and you have a result in the table sys.Aud$
not a ascii file.

If you want the result in a external ascii file you shuld cosnider useing
external tables. trigger to external table=ascii file ?

regards

SEJ

"qa4ever" <qa4ever (AT) hotmail (DOT) co.uk> wrote

Quote:
Hi

How do I log (to ascii file) or monitor active concurrent database
connections to a database and server instance ?

Question relates to both Windows and Unix server.
Assume latest version of Oracle.

I want to avoid installing an extensive amounts of tools, just using
default
setup tools

If you're familiar to DB2 I would the same kind of answer for it.

Thank you,
QA4Ever





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.