[This is preliminary documentation and is subject to change.]

Get the Perforce counters for this repository.

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)

Syntax

C#
public IList<Counter> GetCounters(
	Options options
)
Visual Basic
Public Function GetCounters ( _
	options As Options _
) As IList(Of Counter)
Visual C++
public:
IList<Counter^>^ GetCounters(
	Options^ options
)

Parameters

options
Type: Perforce.P4..::..Options

Return Value

Remarks


p4 help counters

counters -- Display list of known counters

p4 counters

Lists the counters in use by the server. The server
uses the following counters directly:

change Current change number
job Current job number
journal Current journal number
lastCheckpointAction Data about the last complete checkpoint
logger Event log index used by 'p4 logger'
traits Internal trait lot number used by 'p4 attribute'
upgrade Server database upgrade level

Other counters can be created by the 'p4 counter' or 'p4 review'
commands.

The names 'minClient', 'minClientMessage', 'monitor',
'security', and 'unicode' are reserved names: do not use them
as ordinary counters.

For general-purpose server configuration, see 'p4 help configure'.

See Also