p4 info
Display information about the current P4 Server application and the shared versioning service.
Syntax
p4 [g-opts] info [-s]
Description
The p4 info command displays information about the
P4 Server
application and the shared versioning service.
Here’s an example of the output from p4 info. If the
server were a replica of another server, that information would be
supplied.
Client name: myserver-24-n102
Client host: myserver-24-n102.dhcp.perforce.com
Client unknown.
Current directory: /Users/kharris
Peer address: 10.0.102.24:52492
Client address: 10.0.102.24
Server address: someaddress.perforce.com:1999
Server root: /depots/p4-1999
Server date: 2025/07/13 14:52:59 -0700 PDT
Server uptime: 147:34:34
Server version: P4D/LINUX26X86_64/2025.2.MAIN-TEST_ONLY/1199094 (2025/07/07)
ServerID: london1999
Server services: standard
Server license: 500 users (expires 2027/01/31)
Server license-ip: qaplay.perforce.com
Case Handling: sensitive
To obtain the version of the P4 Server application (p4), use p4 -V.
The output of p4 -ztag info includes unloadSupport enabled if the administrator has created a depot of type unload. If not, the output includes unloadSupport disabled.
The output of p4 info also includes high-level statistics about the server:
-
A count of files and revisions with the sum of their sizes.
-
A count of changes together with the time at which the first and last changes were created.
The server recalculates these statistics in the background every day, and reports them in cleartext as well as in an encrypted form so the values cannot be tampered with. For example:
Server Statistics: revs(250412R/94875F/48213562880B/11204D/7960C/512U); changes(15234T/15234C/15234:1735689600L/15234:1735689600LC/1:1609459200F/0:0FC); users(42); lastCalculated(1735689600); encrypted(jhy41170h2Yo5BJ40RNssESAr/DAfHPiceUykUBG5msaZlbEEj+t0lSkzXhwaEUgvy8kNL...)
The Server Statistics line reports the following:
| Field | Description |
|---|---|
|
|
Revision counts and total size:
The remaining counts ( |
|
|
|
|
|
The number of users known to the server. |
|
|
The UNIX time at which the server last recalculated these statistics. |
|
|
The same statistics, encrypted so the values cannot be tampered with. |
To hide sensitive output from unauthenticated users, use the dm.info.hide configurable.
Options
| Option | Description |
|---|---|
|
|
Shortened output: exclude information (for example, the workspace root) that requires a database lookup. |
|
|
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 |
None. Every user can run |
Related commands
|
To read P4 Server’s help files |
|
|
To display P4 Proxy connection information |
|
|
To view version information for your P4 Server application |
|