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).

                                                                       1

  du(1)                 MPE/iX Shell and Utilities                 du(1)
  ______________________________________________________________________

       Action:   See syserror(3).

       Message:  Unknown option "-option"
       Cause:    You specified an option that is not valid for du.
       Action:   Check the DESCRIPTION section for a list of valid du
                 options.

  PORTABILITY
       POSIX.2.  x/OPEN Portability Guide 4.0.  All UNIX systems.

       The -t option is an extension to the POSIX standard.

  MPE/iX NOTES
       This release of MPE/iX does not provide the lstat() API.  As a
       result, this command cannot return information on the link
       itself. It attempts to determine when a symbolic link has been
       referenced, but can only return the information on the target of
       the link, rather than the link itself.

       For more information on how the current MPE/iX implementation may
       affect the operation of this utility, see Appendix A, MPE/iX
       Implementation Considerations.

  SEE ALSO
       find(1), ls(1)

                                                                       2