BSD 4_3_Reno development
[unix-history] / usr / share / man / cat1 / du.0
CommitLineData
cd97777a
C
1DU(1) UNIX Reference Manual DU(1)
2
3N\bNA\bAM\bME\bE
4 d\bdu\bu - Display disk usage statistics
5
6S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
7 d\bdu\bu [-\b-a\bak\bks\bsx\bx] [_\bp_\ba_\bt_\bh_\bn_\ba_\bm_\be ...]
8
9D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
10 D\bDu\bu utility displays the block usage of files in the current directory or
11 for the entire tree of a given pathname.
12
13 The options are as follows:
14
15 -\b-a\ba Generate an entry for each file.
16
17 -\b-k\bk By default, d\bdu\bu displays the number of blocks as returned by the
18 stat(2) system call, i.e. 512-byte blocks. If the -\b-k\bk flag is
19 specified, the number displayed is the number of 1024-byte blocks
20 with partial blocks rounded up.
21
22 -\b-s\bs Generate only the grand total. If neither -\b-a\ba or -\b-s\bs are specified,
23 an entry is generated for each directory only.
24
25 -\b-x\bx Don't traverse any mount points.
26
27 Files having multiple hard links are counted (and displayed) a single
28 time per d\bdu\bu execution.
29
30S\bSE\bEE\bE A\bAL\bLS\bSO\bO
31 df(1), quot(8)
32
33H\bHI\bIS\bST\bTO\bOR\bRY\bY
34 A d\bdu\bu command appeared in Version 6 AT&T Unix.