Contained WithinFind More DocumentationFeatured Support Resources | PDF로 이 문서 다운로드 (1996 KB)
du(1M)NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | OUTPUT | USAGE | ENVIRONMENT VARIABLES | EXIT STATUS | ATTRIBUTES | SUMMARY OF TRUSTED SOLARIS CHANGES | SEE ALSO | NOTES NAME
SYNOPSIS
/usr/xpg4/bin/du [-a| -s] [-krx] [file...] DESCRIPTIONThe du utility writes to standard output the size of the file space allocated to, and the size of the file space allocated to each subdirectory of, the file hierarchy rooted in each of the specified files. The size of the file space allocated to a file of type directory is defined as the sum total of space allocated to all files in the file hierarchy rooted in the directory plus the space allocated to the directory itself. Files with multiple links will be counted and written for only one entry. The directory entry that is selected in the report is unspecified. By default, file sizes are written in 512-byte units, rounded up to the next 512-byte unit. /usr/xpg4/bin/duWhen du cannot obtain file attributes or read directories (see stat(2)), it will report an error condition and the final exit status will be affected. OPTIONS
The following options are supported for /usr/bin/du and /usr/xpg4/bin/du: /usr/bin/duThe following options are supported for /usr/bin/du only: /usr/xpg4/bin/duThe following options are supported for /usr/xpg4/bin/du only: OPERANDS
The following operand is supported: OUTPUTThe output from du consists of the amount of the space allocated to a file and the name of the file. USAGESee largefile(5) for the description of the behavior of du when encountering files greater than or equal to 2 Gbyte ( 231 bytes). ENVIRONMENT VARIABLESSee environ(5) for descriptions of the following environment variables that affect the execution of du: LC_CTYPE, LC_MESSAGES, and NLSPATH. EXIT STATUSATTRIBUTESSee attributes(5) for descriptions of the following attributes: /usr/bin/du/usr/xpg4/bin/duSUMMARY OF TRUSTED SOLARIS CHANGESThe -M option processes SLDs when descending multilevel directories. SEE ALSONOTESA file with two or more links is counted only once. If, however, there are links between files in different directories where the directories are on separate branches of the file system hierarchy, du will count the excess files more than once. Files containing holes will result in an incorrect block count. NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | OUTPUT | USAGE | ENVIRONMENT VARIABLES | EXIT STATUS | ATTRIBUTES | SUMMARY OF TRUSTED SOLARIS CHANGES | SEE ALSO | NOTES |