home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
unix
/
doc
/
du.man
< prev
next >
Wrap
Text File
|
1993-06-13
|
3KB
|
133 lines
DU(1L) DU(1L)
NAME
du - summarize disk usage
SYNOPSIS
du [-abcklsxDLS] [--all] [--total] [--count-links] [--sum-
marize] [--bytes] [--kilobytes] [--one-file-system]
[--separate-dirs] [--dereference] [--dereference-args]
[--help] [--version] [path...]
DESCRIPTION
This manual page documents the GNU version of du. du 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.
OPTIONS
-a, --all
Display counts for all files, not just directories.
-b, --bytes
Print sizes in bytes.
-c, --total
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, --kilobytes
Print sizes in kilobytes. This overrides the envi-
ronment variable POSIXLY_CORRECT.
-l, --count-links
Count the size of all files, even if they have
appeared already in another hard link.
-s, --summarize
Display only a total for each argument.
-x, --one-file-system
Skip directories that are on different filesystems
from the one that the argument being processed is
on.
-D, --dereference-args
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.
FSF GNU File Utilities 1
DU(1L) DU(1L)
-L, --dereference
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, --separate-dirs
Count the size of each directory separately, not
including the sizes of subdirectories.
--help Print a usage message and exit with a non-zero sta-
tus.
--version
Print version information on standard error then
exit.
BUGS
On BSD systems, du 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 du program.
FSF GNU File Utilities 2