p4 counters
Display the list of long-term variables used by P4 Server and associated scripts.
Syntax
p4 [g-opts] counters [-e nameFilter] [-m max]
Description
P4 Server
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:
|
Current change number. |
|
Current job number. |
|
Current journal number |
|
Data about the last complete checkpoint |
|
Event log index used by |
The last changelist number successfully submitted to the P4 Server. For perfomance reasons, the p4 submit operation updates the
maxCommitChange counter prior to completing the computation of the size of text+k files, which are stored as type text with keyword expansion. |
|
|
Internal trait lot number used by |
|
Server database upgrade level. |
Options
|
List counters with a name that matches the
|
|
List only the first |
|
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 |
available to an operator user |
The command returns no output if there is no object to report on.
Related commands
To view or change the value of a counter |