p4 diskspace
Display disk space information on the server.
p4 df is an alias for p4
diskspace
.
Syntax
p4 [g-opts] diskspace [P4ROOT | P4JOURNAL | P4LOG | TEMP | journalPrefix | depot]
Description
Shows summary information about the current availability of disk space on the server.
The output of p4 diskspace
is in the form:
name (type type ) : xxx GB free, yyy GB used, zzz GB total (ff % full)
Where name can be either P4ROOT
, P4JOURNAL
, P4LOG
, TEMP
, a prefix
to a non-default
P4 Server
journal file location, or the name of a
P4 Server
depot. The filesystem type is that reported by the operating
system.
If no arguments are specified, disk space information is displayed for all objects.
By default,
P4 Server
rejects commands when free space on the filesystems housing the P4ROOT
, P4JOURNAL
, P4LOG
, or TEMP
falls
below 10 megabytes. To change this behavior, set the
filesys.P4ROOT.min
(and corresponding) configurables to your
desired limits.
If the user account that runs the
P4 Server is subject to disk quotas, the
filesys.*.min
configurables reflect those quotas, regardless
of how much physical space actually remains on the filesystem(s) in
question.
Server releases prior to 16.1 included reserved space in the number displayed for used space in the Size column for Unix filesystems. This has been changed so that the size given now excludes reserved space.
Options
depot |
Report disk space available for filesystem holding the specified depot. |
journalPrefix |
Report disk space available for filesystem holding a non-standard journal location. |
|
Report disk space available for filesystem holding |
|
Report disk space available for filesystem holding |
|
Report disk space available for filesystem holding |
|
Report disk space available for filesystem holding temporary
files. If not defined, uses |
|
See Global options. |
Usage notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required | Command Alias |
---|---|---|---|
N/A |
N/A |
available to an operator user |
p4 df |
Related commands
To configure Perforce’s behavior when disk space is low |