du(1M)
NAME
du − summarize disk usage
SYNOPSIS
du [−asrk] [name ...]
AVAILABILITY
SUNWscpu
DESCRIPTION
The du command reports the number of 512 byte blocks contained in all files and (recursively) directories within each directory and file specified. The block count includes the indirect blocks of the file. If no names are given, the current directory is used.
OPTIONS
−a An output line is generated for each file.
−s Only the grand total (for each of the specified names) is given.
If neither −s or −a is specified, an output line is generated for each directory only.
−r Generates messages about directories that cannot be read, files that cannot be opened, etc., rather than being silent (the default).
−k Print allocation in kilobytes.
A file with two or more links is only counted once.
SEE ALSO
SunOS 5.1 Routine System Administration Guide
NOTES
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.
SunOS 5.1 — Last change: 22 January 1993