IBM Books

Administration Guide


Registering DB2 with the Windows NT Performance Monitor

The setup program automatically registers DB2 with the Windows NT Performance Monitor for you.

To make DB2 and DB2 Connect performance information accessible to the Windows NT Performance Monitor, you must register the DLL for the DB2 for Windows NT Performance Counters. This also enables any other Windows NT application using the Win32 performance APIs to get performance data.

To install and register the DB2 for Windows NT Performance Counters DLL (DB2Perf.DLL) with the Windows NT Performance Monitor, type:

   db2perfi -i

This copies the DLL to the directory \SYSTEM32 under the system directory. To find the name of the system directory, type:

   echo %systemroot%

Registering the DLL also creates a new key in the services option of the registry. One entry gives the name of the DLL, which provides the counter support. Three other entries give names of functions provided within that DLL. These functions include:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]