4.4BSD/usr/share/man/cat1/du.0

Compare this file to the similar file:
Show the results in this format:

DU(1)                        BSD Reference Manual                        DU(1)

NNAAMMEE
     dduu - display disk usage statistics

SSYYNNOOPPSSIISS
     dduu [--aa | --ss] [--HHhhxx] [_f_i_l_e _._._.]

DDEESSCCRRIIPPTTIIOONN
     The dduu utility displays the file system block usage for each file argu-
     ment and for each directory in the file hierarchy rooted in each directo-
     ry argument.  If no file is specified, the block usage of the hierarchy
     rooted in the current directory is displayed.  The number of blocks are
     in the same units as that returned by the stat(2) system call, i.e.
     512-byte blocks.  Partial numbers of blocks are rounded up.

     The options are as follows:

     --aa      Display an entry for each file in the file hierarchy.

     --ss      Display only the grand total for the specified files.

     --HH      When encountering a symbolic link on the command line, follow it.
             All other symbolic links encountered in the traversal are not
             followed.

     --hh      When encountering a symbolic link anywhere in the traversal, fol-
             low it.

     --xx      Filesystem mount points are not traversed.

     DDuu references symbolic links as the links themselves unless the --HH or --hh
     flags are specified, in which case behavior is as detailed above.

     Files having multiple hard links are counted (and displayed) a single
     time per dduu execution.

EENNVVIIRROONNMMEENNTTAALL VVAARRIIAABBLLEESS
     BLOCKSIZE  If the environmental variable BLOCKSIZE is set, the block
                counts will be displayed in units of that size block.

SSEEEE AALLSSOO
     df(1),  fts(3),  symlink(7),  quot(8)

HHIISSTTOORRYY
     A dduu command appeared in Version 6 AT&T UNIX.

4.4BSD                           June 6, 1993                                1