home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / doc / du.man < prev    next >
Text File  |  1993-06-13  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. DU(1L)                                                     DU(1L)
  5.  
  6.  
  7. NAME
  8.        du - summarize disk usage
  9.  
  10. SYNOPSIS
  11.        du [-abcklsxDLS] [--all] [--total] [--count-links] [--sum-
  12.        marize]   [--bytes]   [--kilobytes]    [--one-file-system]
  13.        [--separate-dirs]   [--dereference]   [--dereference-args]
  14.        [--help] [--version] [path...]
  15.  
  16. DESCRIPTION
  17.        This manual page documents the GNU version of du.  du dis-
  18.        plays  the  amount of disk space used by each argument and
  19.        for each subdirectory of directory arguments.   The  space
  20.        is  measured  in 1K blocks by default, unless the environ-
  21.        ment  variable  POSIXLY_CORRECT  is  set,  in  which  case
  22.        512-byte blocks are used.
  23.  
  24.    OPTIONS
  25.        -a, --all
  26.               Display counts for all files, not just directories.
  27.  
  28.        -b, --bytes
  29.               Print sizes in bytes.
  30.  
  31.        -c, --total
  32.               Write a grand total of all of the  arguments  after
  33.               all  arguments  have  been  processed.  This can be
  34.               used to find out the disk  usage  of  a  directory,
  35.               with some files excluded.
  36.  
  37.        -k, --kilobytes
  38.               Print sizes in kilobytes.  This overrides the envi-
  39.               ronment variable POSIXLY_CORRECT.
  40.  
  41.        -l, --count-links
  42.               Count the size of all  files,  even  if  they  have
  43.               appeared already in another hard link.
  44.  
  45.        -s, --summarize
  46.               Display only a total for each argument.
  47.  
  48.        -x, --one-file-system
  49.               Skip  directories that are on different filesystems
  50.               from the one that the argument being  processed  is
  51.               on.
  52.  
  53.        -D, --dereference-args
  54.               Dereference  symbolic  links  that are command line
  55.               arguments.  Does not affect other  symbolic  links.
  56.               This  is  helpful for finding out the disk usage of
  57.               directories like /usr/tmp where they  are  symbolic
  58.               links.
  59.  
  60.  
  61.  
  62.  
  63.  
  64. FSF                     GNU File Utilities                      1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DU(1L)                                                     DU(1L)
  71.  
  72.  
  73.        -L, --dereference
  74.               Dereference  symbolic  links  (show  the disk space
  75.               used by the file or directory that the link  points
  76.               to instead of the space used by the link).
  77.  
  78.        -S, --separate-dirs
  79.               Count  the  size  of each directory separately, not
  80.               including the sizes of subdirectories.
  81.  
  82.        --help Print a usage message and exit with a non-zero sta-
  83.               tus.
  84.  
  85.        --version
  86.               Print  version  information  on standard error then
  87.               exit.
  88.  
  89. BUGS
  90.        On BSD systems, du reports sizes that are half the correct
  91.        values  for files that are NFS-mounted from HP-UX systems.
  92.        On HP-UX systems, it reports sizes that are twice the cor-
  93.        rect  values  for files that are NFS-mounted from BSD sys-
  94.        tems.  This is due to a flaw in HP-UX; it also affects the
  95.        HP-UX du program.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. FSF                     GNU File Utilities                      2
  131.  
  132.  
  133.