DB2 10.5 for Linux, UNIX, and Windows

db2perfi - Performance counters registration utility command

Adds the DB2® performance counters to the Windows operating system. This must be done to make DB2 and DB2 Connect™ performance information accessible to the Windows performance monitor.

Authorization

Local Administrator

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-db2perfi--+- -i-+-------------------------------------------><
             '- -u-'   

Command parameters

-i
Registers the DB2 performance counters.
-u
Deregisters the DB2 performance counters.

Usage notes

The db2perfi -i command will do the following action:
  1. Add the names and descriptions of the DB2 counter objects to the Windows registry.
  2. Create a registry key in the Services key in the Windows registry as follows:
    HKEY_LOCAL_MACHINE
      \System
        \CurrentControlSet
          \Services
            \DB2_NT_Performance
              \Performance
                Library=Name of the DB2 performance support DLL
                Open=Open function name, called when the DLL is 
                 first loaded
                Collect=Collect function name, called to request 
                 performance information
                Close=Close function name, called when the DLL is 
                 unloaded