MPE/iX Shell and Utilities Reference Manual, Vol 1

du(1) MPE/iX Shell and Utilities du(1)
NAME
du — summarize file space usage
SYNOPSIS
du [–a–s [–ktx][pathname ...]
DESCRIPTION
Note: The MPE/iX implementation of this utility does not function exactly as this man page
describes. For details, see the MPE/iX NOTES section at the end of this man page.
du reports the amount of file space used by the files indicated by the given pathnames. If
pathname is a directory, du reports the total amount of file space used by all files in that direc-
tory and in each subdirectory in its hierarchy. If you do not specify any pathname, du
assumes the current directory. Files with multiple links are only counted once. On systems
supporting symbolic links, only the disk space used by the symbolic link is counted.
du measures file space in 512-byte units.
Options
du accepts the following options:
–a generates a report for all files in pathname.
–k displays file sizes in 1024-byte (1K) units.
–s does not display file size totals for subdirectories.
–t displays the total amount of space used by all pathnames examined.
–x displays file sizes for only those files contained on the same device as pathname.
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 An error occurred.
Messages
Message: directory "pathname": system error
Cause: See syserror(3).
Action: See syserror(3).
Message: file "filename": system error
Cause: See syserror(3).
Action: See syserror(3).
Commands and Utilities 1-191