Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ du(C) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     DU(C)                    XENIX System V                     DU(C)



     Name
          du - Summarizes disk usage.

     Syntax
          du [ -afrsu ] [ 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 block count includes
          the indirect blocks of the file.  If names is missing, the
          current directory 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.

          The -f option causes du to display the usage of files in the
          current file system only.  Directories containing mounted
          file systems will be ignored.  The -u option causes du to
          ignore files that have more than one link.

          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.

     Notes
          If the -a 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.

          This utility reports sizes in 512 byte blocks.















     Page 1                                           (printed 2/7/91)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026