minix/man/man1/du.1

39 lines
1 KiB
Groff
Raw Normal View History

2005-05-02 15:01:42 +02:00
.TH DU 1
.SH NAME
du \- print disk usage
.SH SYNOPSIS
\fBdu\fR [\fB\-as\fR]\fR [\fB\-l \fIn\fR] \fIdir\fR ...\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH OPTIONS
.FL "\-a" "Give usage for all files"
.FL "\-F" "Include filesystem overhead for indirect blocks"
2005-05-02 15:01:42 +02:00
.FL "\-l" "List up to \fIn\fR levels of subdirectories"
.FL "\-d" "Do not cross file system boundaries"
.FL "\-s" "Summary only"
.SH EXAMPLES
.EX "du dir" "List disk space used by files in dir"
.EX "du \-s dir1 dir2" "Give summaries only"
.EX "du \-d /" "Show only the root device"
.SH DESCRIPTION
.PP
\fIDu\fR examines one or more directories and prints the amount of space
2006-08-04 15:26:05 +02:00
occupied by the files in those directories and their subdirectories in
kilobytes.
.SH BUGS
\fIDu\fR calculates disk usage based on file size. It could be there
are holes in the file, not occupying any actual disk blocks, causing
\fIdu\fR to overestimate disk usage. (\fIDu\fR does recognize and correctly
calculate disk usage when hard links are encountered.)
2005-05-02 15:01:42 +02:00
.SH "SEE ALSO"
.BR df (1).