du(1)
_________________________________________________________________
du Command
summarize disk usage
_________________________________________________________________
SYNTAX
du [ -ars ] [ 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 gives only the grand total for each of
the specified names. The optional argument -a generates an entry
for each file. Absence of either generates an entry for each
directory only.
Du is normally silent about directories that cannot be read,
files that cannot be opened, etc. The -r option will cause du to
generate messages in such instances.
A file with two or more links is counted only once.
_________________________________________________________________
EXAMPLES
$ du | egrep '^[1-9][0-9][0-9]+'
Displays the directories and sub-directories which have a larger
block count than 100. The output of du is piped to egrep and
egrep searches for strings that start with the number 100 or
greater.
_________________________________________________________________
BUGS
If the -a 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.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)