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 > Statistics of connection

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-02-03, 10:05
achiola achiola is offline
Registered User
 
Join Date: May 2002
Location: General Deheza, Cba, Arg.
Posts: 273
Unhappy Statistics of connection

Hi,

I have know the number of connection in my DB´s?

For example, the nro. of connection in a day, or the AVG of connection.

Any idea?

Thank
Abel.
Reply With Quote
  #2 (permalink)  
Old 10-02-03, 11:11
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Re: Statistics of connection

Well, you can use:

db2 get snapshot for database on dbname

command to see some information on connetions, but in order to get daily or avg listing you need to do something else e.g. reset the monitor everyday and record the connections value. You did not mention what version you are running as V8 also has the capability to have the output of event monitors written to tables which you can query for certain condition.

Hope this helps,

dollar

Quote:
Originally posted by achiola
Hi,

I have know the number of connection in my DB´s?

For example, the nro. of connection in a day, or the AVG of connection.

Any idea?

Thank
Abel.
Reply With Quote
  #3 (permalink)  
Old 10-02-03, 11:57
achiola achiola is offline
Registered User
 
Join Date: May 2002
Location: General Deheza, Cba, Arg.
Posts: 273
PERFECT!!!!!
Thanks.
Abel.
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