Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ du(1) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

df(1)

lseek(2)

quot(8)



DU(1)                   COMMAND REFERENCE                   DU(1)



NAME
     du - summarize disk usage

SYNOPSIS
     du [ -a ] [ -r ] [ -s ] [ filename ... ]

DESCRIPTION
     Du gives the number of kilobytes contained in all files and
     (recursively) directories within each specified filename, if
     filename is a directory.  If a filename argument is a
     regular file, the size of the file will be given only if one
     or more options is given.  The count includes the indirect
     blocks of the file.  If filename is missing, `.' is used.

     Absence of an option causes an entry to be generated for
     each directory only.

OPTIONS
     -a  Causes an entry to be generated for each file.

     -r  Messages will be generated when directories cannot be
         read, files cannot be opened, etc.

     -s  Causes only the grand total to be given.

EXAMPLES
     The following invocation gives the total disk usage for the
     directory /tmp.



          du -s /tmp


RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [P_WARN]       A system error occurred. Execution continues.
                    See intro(2) for more information on system
                    errors.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

CAVEATS
     Non-directories given as arguments (not under -a option) are
     not listed.




Printed 10/17/86                                                1





DU(1)                   COMMAND REFERENCE                   DU(1)



     A file with two or more links is only counted once unless
     there are greater than 1024 distinctly linked files. The
     1025th linked file encountered and all subsequent linked
     files are counted multiply.

     Files with holes in them will get an incorrect block count.

SEE ALSO
     df(1), lseek(2), quot(8).














































Printed 10/17/86                                                2





































































%%index%%
na:72,61;
sy:133,168;
de:301,633;
op:934,302;
ex:1236,175;
rv:1411,571;
ca:1982,146;2272,287;
se:2559,153;
%%index%%000000000140

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