Monitoring connections for remote clients

 

You can use the database system monitor with a DB2 Connect™ server product, such as DB2 Connect Enterprise Edition, to monitor the remote client connections. To monitor clients that are local to the DB2 Connect server, that are running on the server itself, you will need to set the following variable:

   db2set DB2CONNECT_IN_APP_PROCESS=NO
For example, when an error occurs at the host or System i™ system, the system administrator can determine if the problem was on the DB2 Connect workstation. The database system monitor correlates:

This information shows which DB2 Connect connection caused the problem, which allows the system administrator to force the individual client application from the system without affecting the other clients using the DB2 Connect connection.

Listing the Status of Monitor Switches

To list the status of monitor switches, use the db2 get monitor switches command.

Related concepts
System monitor switches

Related tasks
Setting monitor switches from a client application Setting monitor switches from the CLP