p4 diskspace
Synopsis
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 Perforce journal file location, or the name of a Perforce
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, Perforce rejects commands when free space on the filesystems
housing the P4ROOT
, P4JOURNAL
,
P4LOG
, or TEMP
fall 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 Perforce versioning service 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.
Note
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 |
---|---|---|
N/A |
N/A |
|