version 1.31, 2014/02/14 18:17:50 |
version 1.32, 2014/10/17 14:46:54 |
|
|
.Nd display disk usage statistics |
.Nd display disk usage statistics |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm du |
.Nm du |
.Op Fl a | s |
.Op Fl d Ar depth |
.Op Fl chkrx |
.Op Fl achkrsx |
.Op Fl H | L | P |
.Op Fl H | L | P |
.Op Ar |
.Op Ar |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
|
|
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl a |
.It Fl a |
Display an entry for each file in the file hierarchy. |
Display entries for files in addition to entries for directories. |
.It Fl c |
.It Fl c |
Display the grand total after all the arguments have been processed. |
Display the grand total after all the arguments have been processed. |
|
.It Fl d Ar depth |
|
Do not display entries for files and directories more than |
|
.Ar depth |
|
levels deep; |
|
.Fl d Cm 0 |
|
has the same effect as |
|
.Fl s . |
|
Overrides earlier |
|
.Fl d |
|
and |
|
.Fl s |
|
options. |
.It Fl H |
.It Fl H |
Symbolic links on the command line are followed. |
Symbolic links on the command line are followed. |
Symbolic links encountered in the tree traversal are not followed. |
Symbolic links encountered in the tree traversal are not followed. |
|
|
that cannot be opened, and so on. |
that cannot be opened, and so on. |
This is the default. |
This is the default. |
.It Fl s |
.It Fl s |
Display only the grand total for the specified files. |
Display only the total for each of the specified files and directories. |
|
Overrides earlier |
|
.Fl d |
|
options. |
.It Fl x |
.It Fl x |
File system mount points are not traversed. |
File system mount points are not traversed. |
.El |
.El |
|
|
specification. |
specification. |
.Pp |
.Pp |
The flags |
The flags |
.Op Fl chP , |
.Op Fl cdhP , |
as well as the |
as well as the |
.Ev BLOCKSIZE |
.Ev BLOCKSIZE |
environment variable, |
environment variable, |
|
|
.St -xcu5 |
.St -xcu5 |
standard. |
standard. |
.Sh HISTORY |
.Sh HISTORY |
A |
The |
.Nm |
.Nm |
command first appeared in |
utility and its |
.At v3 . |
.Fl a |
|
and |
|
.Fl s |
|
options first appeared in |
|
.At v1 . |
|
.Pp |
|
The |
|
.Fl r |
|
option first appeared in |
|
.At III |
|
and is available since |
|
.Ox 2.3 . |
|
The |
|
.Fl k |
|
and |
|
.Fl x |
|
options first appeared in |
|
.Bx 4.3 Reno |
|
and |
|
.Fl H |
|
in |
|
.Bx 4.4 . |
|
The |
|
.Fl c |
|
and |
|
.Fl L |
|
options first appeared in the GNU fileutils; |
|
.Fl L |
|
and |
|
.Fl P |
|
are available since |
|
.Bx 4.4 Lite1 , |
|
.Fl c |
|
since |
|
.Ox 2.1 . |
|
The |
|
.Fl d |
|
option first appeared in |
|
.Fx 2.2 |
|
and is available since |
|
.Ox 5.7 , |
|
.Fl h |
|
first appeared in |
|
.Fx 4.0 |
|
and is available since |
|
.Ox 2.9 . |
.Sh AUTHORS |
.Sh AUTHORS |
.An -nosplit |
.An -nosplit |
This version of |
This version of |