du(1) du(1)
NAME
du - summarize disk usage
SYNOPSIS
du [-a] [-r] [-s] [names]
DESCRIPTION
du gives 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, . is
used.
The optional argument -s causes only the grand total (for
each of the specified names) to be given. The optional
argument -a causes an entry to be generated for each file.
Absence of either causes an entry to be generated for each
directory only.
Du is normally silent about directories that cannot be read,
files that cannot be opened, etc. The -r flag option will
cause du to generate messages in such instances.
A file with two or more links is only counted once.
EXAMPLE
du dir1 dir2
produces a count of the number of blocks in each of the
directories. In order to see how many blocks are in each
file, the -a flag option must be used.
FILES
/bin/du
BUGS
If the -a flag option is not used, non-directories given as
arguments are not listed.
If there are too many distinct linked files, du will count
the excess files more than once.
Files with holes in them will get an incorrect block count.
Page 1 (last mod. 1/16/87)