Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ du(1) — DG/UX 4.31

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     du(1)                      DG/UX 4.31                       du(1)



     NAME
          du - summarize disk usage

     SYNOPSIS
          du [ -amrs ] [ name ... ]

          name The name of a directory or regular file; default = .

     DESCRIPTION
          Du gives the number of blocks contained in all files and
          (recursively) directories within each directory and file
          specified by the name argument.  The block count includes
          the indirect blocks of the file.

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

          Options are:

          -a   Generate an entry for each file.

          -m   Traverse only those subdirectories that are within the
               same file system (i.e., don't cross file system mount
               points).  Normally, du traverses all subdirectories
               within each directory when calculating disk usage.

          -r   Generate a message for each directory that cannot be
               read, each file that cannot be opened, etc.  By default
               du is silent in such instances.

          -s   Give only the grand total for each of the specified
               directories.  Absence of either -a or -s generates an
               entry for each directory only.

     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.

     NOTES
          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