List Disk Usage Statistics
Usage: du [-acdxvh-] [ disk1 disk2 ... ]
du prints statistics showing the total, used and free space on
each disk partition. If no disk partitions are specified, du
looks for a DRIVEMASK environmental variable that can be used
to mask off just the drives you want reported. The DRIVEMASK
is specified as a list of drive letters; ranges are allowed.
Otherwise, all partitions beginning with c: are reported.
The current disk's statistics are highlighted. Sizes are
normally reported in binary (1000*1024) megabytes.
Options:
-a If no disks are specified, report on all disks.
-c If no disks are specified, report on just the current disk.
-d Report in decimal (1,000,000) megabytes.
-x Report in hex (1024*1024) megabytes.
-v Verbose. Give detailed cluster information.
-h Help.
-- End of options.
Colors:
You may set your own choices for screen colors using these
environmental variables:
Name Use Default
COLORS Normal screen colors <null string>
HIGHLIGHT Current disk Bright
Colors recognized are black, red, green, yellow, blue, magenta
(or red blue), cyan (or blue green) or white. Foreground and
background colors may also be bright, dim or reverse. The names
of the colors and the words bright, dim, reverse and on may be
in either upper or lower or mixed case.
Either or both the foreground and background colors may be
specified; if you don't specify a value, it's considered
transparent and inherits the color underneath it. HIGHLIGHT
inherits from COLORS. If COLORS is null, du uses the current
screen colors it finds at startup. Specifying COLORS=none
turns off all use of color.
|