Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

monitor database connections/sessions

learningoracleJan 28 2008 — edited Feb 4 2008
Hi, i would know if anyone has suggestion on how i can monitor the number of connections to the db from a particular host?

From the oracle client's oracle enterprise manager console, i can go network->database->instance->sessions, i can see the which remote host is the connection coming from and what program is using the connection.

From the OS level i could do a primitive `ps -ef | grep ORACLE_SID ` to see and count the total number of connections.( but i cant see which remote is the connection coming from)

I would like to achieve the purpose of remotely monitoring of the DB, if there are too many sessions coming from a particular host, running a particular program, send out alerts.

Are there any oracle commands or OS scripting that i can use?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 3 2008
Added on Jan 28 2008
5 comments
3,948 views