du(1M) —
NAME
du − summarize disk usage
SYNOPSIS
du [ −sarL ] [ names ]
DESCRIPTION
The du command reports the number of blocks contained in all files and (recursively) directories within each directory and file specified by the names argument. The block count includes the indirect blocks of the file. If names is missing, the current directory is used.
The optional arguments are as follows:
−s causes only the grand total (for each of the specified names) to be given.
−a causes an output line to be generated for each file.
If neither −s nor −a is specified, an output line is generated for each directory only.
−r will cause du to generate messages about directories that cannot be read, files that cannot be opened, etc., rather than being silent (the default).
−L causes du to process symbolic links by using the file or directory the symbolic link references, rather than the link itself.
A file with two or more links is only counted once.
BUGS
If the −a option is not used, non-directories given as arguments are not listed.
If there are links between files in different directories where the directories are on separate branches of the file system hierarchy, du will count the excess files more than once.
Files with holes in them will get an incorrect block count.
ADDED VALUE
This entry, supplied by SunSoft, Inc., contains enhancements to UNIX System V.
\*U — Version 1.0