p4 counters

Synopsis

Display list of long-term variables used by Perforce and associated scripts.

Syntax

p4 [g-opts] counters [-e nameFilter] [-m max]

Description

Perforce uses counters as variables to store the number of the last submitted changelist and the number of the next job. p4 counters provides the current list of counters, along with their values.

Options

-e nameFilter

List counters with a name that matches the nameFilter pattern, for example: p4 counters -e 'mycounter-*'

-m max

List only the first max counters.

g-opts

See “Global Options”.

Usage Notes

Can File Arguments Use Revision Specifier?

Can File Arguments Use Revision Range?

Minimal Access Level Required

N/A

N/A

list

Related Commands

To view or change the value of a counter

p4 counter