If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > users information

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-01-08, 05:13
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
Question users information

Hi,
m using db2 ESE v9.5 on windows
I want to know throughout the day in a file/table, the users who are connected to , their ip address, and the time that they are connected to an database server on windows.
any script that will automatically make any entry in a table whenever a user connects to database along with status 'if the connection was successfully made or failed'
Reply With Quote
  #2 (permalink)  
Old 10-01-08, 09:46
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Quote:
Originally Posted by nittal
I want to know throughout the day in a file/table, the users who are connected to , their ip address, and the time that they are connected to an database server on windows.
I think the audit facility will give you this info. look in the documentation under db2audit


Quote:
Originally Posted by nittal
any script that will automatically make any entry in a table whenever a user connects to database along with status 'if the connection was successfully made or failed'
I am not sure if the Event Monitor logs unsuccessful connections, but using it will have a significant impact on performance.

Andy
Reply With Quote
  #3 (permalink)  
Old 10-07-08, 04:52
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
no it does not shows unsuccessfull connections...any other way to find that out??
Reply With Quote
  #4 (permalink)  
Old 10-07-08, 05:25
goudelly1 goudelly1 is offline
Registered User
 
Join Date: Apr 2008
Posts: 21
Hi,

go to db2cmd prompt and db2pd -agents you get the list of user connected to your database and it wont give the IP address but it will give hexa decimal format.

Regards,

Mohan Reddy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On