version 1.9, 1999/06/05 01:21:22 |
version 1.10, 1999/07/04 11:53:53 |
|
|
.Op Ar file ... |
.Op Ar file ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm du |
.Nm |
utility displays the file system block usage for each |
utility displays the file system block usage for each |
.Ar file |
.Ar file |
argument |
argument |
|
|
Display an entry for each file in the file hierarchy. |
Display an entry for each file in the file hierarchy. |
.It Fl k |
.It Fl k |
By default, |
By default, |
.Nm du |
.Nm |
displays the number of blocks as returned by the |
displays the number of blocks as returned by the |
.Xr stat 2 |
.Xr stat 2 |
system call, i.e. 512-byte blocks. |
system call, i.e. 512-byte blocks. |
If the |
If the |
.Fl k |
.Fl k |
|
|
Filesystem mount points are not traversed. |
Filesystem mount points are not traversed. |
.El |
.El |
.Pp |
.Pp |
.Nm du |
.Nm |
counts the storage used by symbolic links and not the files they |
counts the storage used by symbolic links and not the files they |
reference unless the |
reference unless the |
.Fl H |
.Fl H |
|
|
.Pp |
.Pp |
Files having multiple hard links are counted (and displayed) a single |
Files having multiple hard links are counted (and displayed) a single |
time per |
time per |
.Nm du |
.Nm |
execution. |
execution. |
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
.Bl -tag -width BLOCKSIZE |
.Bl -tag -width BLOCKSIZE |
|
|
.Xr quot 8 |
.Xr quot 8 |
.Sh HISTORY |
.Sh HISTORY |
A |
A |
.Nm du |
.Nm |
command appeared in |
command appeared in |
.At v6 . |
.At v6 . |