du.1 (1348B)
1 .Dd 2015-10-08 2 .Dt DU 1 3 .Os sbase 4 .Sh NAME 5 .Nm du 6 .Nd display disk usage statistics 7 .Sh SYNOPSIS 8 .Nm 9 .Op Fl a | s 10 .Op Fl d Ar depth 11 .Op Fl h 12 .Op Fl k 13 .Op Fl H | L | P 14 .Op Fl x 15 .Op Ar file ... 16 .Sh DESCRIPTION 17 .Nm 18 displays the file system block usage for each 19 .Ar file 20 argument and for each directory in the file hierarchy rooted in directory 21 argument. If no 22 .Ar file 23 is specified, the block usage of the hierarchy rooted in the current directory 24 is displayed. 25 .Sh OPTIONS 26 .Bl -tag -width Ds 27 .It Fl a 28 Display an entry for each file in the file hierarchy. 29 .It Fl s 30 Display only the grand total for the specified files. 31 .It Fl d Ar depth 32 Maximum directory depth to print files and directories. 33 .It Fl h 34 Enable human-readable output. 35 .It Fl k 36 By default all sizes are reported in 512-byte block counts. 37 The 38 .Fl k 39 option causes the numbers to be reported in kilobyte counts. 40 .It Fl H 41 Only dereference symbolic links that are passed as command line arguments when 42 recursively traversing directories. 43 .It Fl L 44 Always dereference symbolic links while recursively traversing directories. 45 .It Fl P 46 Don't dereference symbolic links. This is the default. 47 .It Fl x 48 Do not traverse file systems mount points. 49 .El 50 .Sh STANDARDS 51 The 52 .Nm 53 utility is compliant with the 54 .St -p1003.1-2013 55 specification. 56 .Pp 57 The 58 .Op Fl dhP 59 flags are an extension to that specification.