Resets the performance values for one or more databases. It is used with the performance monitor on Windows operating systems.
Local Administrator
None
.-------------. V | >>-db2perfc--+-----+----+---------+-+-------------------------->< '- -d-' '-dbalias-'
db2perfc
db2perfc dbalias1 dbalias2
db2perfc -d
db2perfc -d dbalias1 dbalias2
When an application calls the DB2 monitor APIs, the information returned is normally the cumulative values since the DB2 server was started. However, it is often useful to reset performance values, run a test, reset the values again, and then rerun the test.
The program resets the values for all programs currently accessing database performance information for the relevant DB2 server instance (that is, the one held in db2instance in the session in which you run db2perfc). Invoking db2perfc also resets the values seen by anyone remotely accessing DB2 performance information when the command is executed.
The db2ResetMonitor API allows an application to reset the values it sees locally, not globally, for particular databases.