


DU(1L)                                                     DU(1L)


NNAAMMEE
       du - summarize disk usage

SSYYNNOOPPSSIISS
       dduu [-abcklsxDLS] [--all] [--total] [--count-links] [--sum-
       marize]   [--bytes]   [--kilobytes]    [--one-file-system]
       [--separate-dirs]   [--dereference]   [--dereference-args]
       [path...]

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the GNU version of dduu.  dduu dis-
       plays  the  amount of disk space used by each argument and
       for each subdirectory of directory arguments.   The  space
       is  measured  in 1K blocks by default, unless the environ-
       ment  variable  POSIXLY_CORRECT  is  set,  in  which  case
       512-byte blocks are used.

   OOPPTTIIOONNSS
       _-_a_, _-_-_a_l_l
              Display counts for all files, not just directories.

       _-_b_, _-_-_b_y_t_e_s
              Print sizes in bytes.

       _-_c_, _-_-_t_o_t_a_l
              Write a grand total of all of the  arguments  after
              all  arguments  have  been  processed.  This can be
              used to find out the disk  usage  of  a  directory,
              with some files excluded.

       _-_k_, _-_-_k_i_l_o_b_y_t_e_s
              Print sizes in kilobytes.  This overrides the envi-
              ronment variable POSIXLY_CORRECT.

       _-_l_, _-_-_c_o_u_n_t_-_l_i_n_k_s
              Count the size of all  files,  even  if  they  have
              appeared already in another hard link.

       _-_s_, _-_-_s_u_m_m_a_r_i_z_e
              Display only a total for each argument.

       _-_x_, _-_-_o_n_e_-_f_i_l_e_-_s_y_s_t_e_m
              Skip  directories that are on different filesystems
              from the one that the argument being  processed  is
              on.

       _-_D_, _-_-_d_e_r_e_f_e_r_e_n_c_e_-_a_r_g_s
              Dereference  symbolic  links  that are command line
              arguments.  Does not affect other  symbolic  links.
              This  is  helpful for finding out the disk usage of
              directories like /usr/tmp where they  are  symbolic
              links.





                                                                1





DU(1L)                                                     DU(1L)


       _-_L_, _-_-_d_e_r_e_f_e_r_e_n_c_e
              Dereference  symbolic  links  (show  the disk space
              used by the file or directory that the link  points
              to instead of the space used by the link).

       _-_S_, _-_-_s_e_p_a_r_a_t_e_-_d_i_r_s
              Count  the  size  of each directory separately, not
              including the sizes of subdirectories.

BBUUGGSS
       On BSD systems, dduu reports sizes that are half the correct
       values  for files that are NFS-mounted from HP-UX systems.
       On HP-UX systems, it reports sizes that are twice the cor-
       rect  values  for files that are NFS-mounted from BSD sys-
       tems.  This is due to a flaw in HP-UX; it also affects the
       HP-UX dduu program.

       The  long-named options can be introduced with `+' as well
       as `--', for compatibility with previous releases.   Even-
       tually  support  for  `+'  will  be removed, because it is
       incompatible with the POSIX.2 standard.




































                                                                2


