p4 logstat

Synopsis

Report size of journal, error log, and/or audit log files.

Syntax

p4 [g-opts] logstat [-l logname]

Description

The p4 logstat command reports the sizes of the journal, error log (if it exists), and audit log (if it exists).

By default, p4 logstat does not include the sizes of structured log files. To report the size of a structured log file, you must explicitly specify the log file's name (as defined by its corresponding serverlog.file.n configurable) with the -l option.

Options

-l logname

Display the file size of the named logname.

Valid values for logname are journal, errorLog, and auditLog, or any of the serverlog.file.n filenames associated with structured logs.

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

super