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 default system size for physical blocks is 512 bytes. 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 ar- gument -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. EXAMPLES du dir1 dir2 produces a count of the number of (512-byte) 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 SEE ALSO df(1). BUGS If the -a flag option is not used, nondirectories 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. April, 1990 1