Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ du(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     du(1)                      DG/UX 4.30                       du(1)



     NAME
          du - summarize disk usage

     SYNOPSIS
          du [ -amrs ] [ 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, . is
          used.

          The optional argument -s gives only the grand total for each
          of the specified names.  The optional argument -a generates
          an entry for each file.  Absence of either generates an
          entry 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.

          Normally, du traverses all subdirectories within each
          directory when calculating disk useage.  However, if the -m
          option is specified, du traverses only those subdirectories
          that are within the same file system.  (I.e. It doesn't
          cross file system mount points.)

          A file with two or more links is counted only once.


     EXAMPLES
          $ du | egrep '^[1-9][0-9][0-9]+'

          Displays the directories and sub-directories which have a
          larger block count than 100.  The output of du is piped to
          egrep and egrep searches for strings that start with the
          number 100 or greater.

     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 abort.
          Files with holes in them will get an incorrect block count.











     Licensed material--property of copyright holder(s)         Page 1



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