p4 diagnostics
Generate diagnostic data about the P4 Server.
This command is a Technology Preview feature. Features offered in Technology Preview are experimental and not guaranteed to always work as expected. If you have feedback and functionality suggestions, email techpreview@perforce.com.
Syntax
p4g-optsdiagnostics [-L limit] p4g-optsdiagnostics [-l] [-s] [-a [-L limit]]
Description
Introduced in 2024.2, the output format is subject to change. This command is currently intended for use under guidance by Perforce Support.
The first form of the command, p4 , generates the basic diagnostic data and downloads it to a number of fixed named files in the current directory:g-opts diagnostics [-L limit]
- 
                                                    diags- basic configuration details, configuration, configuration history, server setting, and checkpoint history.
- 
                                                    monitor- the monitor records, if monitoring is enabled.
- 
                                                    topology- a textual description of the network that contains this server.
- 
                                                    A copy of the current journalandlogfiles, using the configured names of these files.
The second form of the command, p4 , provides information that might take more time and require more server resources.g-opts diagnostics [-l] [-s] [-a [-L limit]]
Options
| 
 | Limit the download size
	of the journal and log files to the last  | 
| 
 | Request that the  | 
| 
 | Run an  This option is not yet supported on any platform. | 
| -a | Request that the basic diagnostic files of p4 be produced. Without this option, those files are  omitted with the-land-soptions. | 
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 |