DU(1) HP-UX 5.0 DU(1) NAME du - summarize disk usage SYNOPSIS du [ -ars ] [ names ] HP-UX COMPATIBILITY Level: HP-UX/NUCLEUS Origin: System V DESCRIPTION Du gives the number of 512-byte 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 option will cause du to generate messages in such instances. 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 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. If multiple links are involved, du can give different results, depending on the order of names.