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 > Check or query number of connections

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-05, 21:42
henrywong henrywong is offline
Registered User
 
Join Date: Jan 2005
Location: Macau
Posts: 1
Check or query number of connections

How to check or count number of connetions or agents. I need these information to see how many connections/process are establisehd to DB2 by the applications. DB2 version is V8.1.

Hope for helps
Reply With Quote
  #2 (permalink)  
Old 01-26-05, 21:50
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You can do a GET SNAPSHOT FOR APPLICATIONS. See the Command Reference for syntax details.

You can also submit this from a command prompt:

db2 list applications show detail
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 01-27-05, 16:30
fohana fohana is offline
Registered User
 
Join Date: Jan 2005
Location: Rio de Janeiro - Brazil
Posts: 28
Alternate command

If you want to check the number of connections per database you can use the command LIST ACTIVE DATABASES.

Look for the field: Applications connected currently
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