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 > is there a way to know the time a user connected to DB2?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-23-06, 13:03
beeblequix beeblequix is offline
Registered User
 
Join Date: Nov 2005
Posts: 7
is there a way to know the time a user connected to DB2?

Is there a log of some sort either inside DB2 or on linux that describes that user X connected to $db2instance at `date` or something close?

DB2 8.1.5
SLES8 (kernel 2.4.19-SUSEsmp)

ß
Reply With Quote
  #2 (permalink)  
Old 08-23-06, 13:27
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
Try db2 LIST APPLICATIONS FOR db xxx SHOW DETAIL
__________________
mota
Reply With Quote
  #3 (permalink)  
Old 08-23-06, 14:42
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by dbamota
Try db2 LIST APPLICATIONS FOR db xxx SHOW DETAIL
Not really. That would give you the connection status change time (i.e. time of the last operation).

GET SNAPSHOT FOR APPLICATIONS ON <db name> will have the connection timestamp.
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