REGCP$HELP.HLB  —  ZERO  COUNTERS
    Initializes counters within the OpenVMS Registry server.

    This command requires the SYSPRV privilege or the REG$PERFORMANCE
    rights identifier.

    Format:

      ZERO COUNTERS/FILE [name]

      ZERO COUNTERS/PERFORMANCE

    name

    Identifies the file (used with the /FILE qualifier only).

1  –  Qualifiers

1.1    /FILE

    Initializes the file counters for the specified file or for all
    files.

1.2    /PERFORMANCE

    Initializes all performance counters.

1.3    /WAIT

    /WAIT=seconds (default = 90)
    /NOWAIT

    Specifies the maximum amount of time, in seconds, that you are
    willing to wait for command completion.  If the Registry server
    does not complete the request in the specified interval, REG$CP
    returns REG-F-NORESPONSE. The default interval is 90 seconds.
    /NOWAIT is equivalent to specifying /WAIT=0, but there may still
    be a short wait period.

2  –  Example

        REG> ZERO COUNTERS/PERFORMANCE

      This example resets the performance counters.
Close Help