du
QNX SDP8.0Utilities ReferenceUtilities
Estimate disk space usage (POSIX, toybox)
Syntax:
du [-d n] [-acHKkLlmsx]file...]
Runs on:
QNX OS
Options:
- -a
- Show all files, not just directories.
- -c
- Show the cumulative total of used disk space.
- -d n
- Show only depth that is less than the specified length.
- -H
- Follow symbolic links on the command line.
- -L
- Follow all symbolic links.
- -l
- ("el") Disable hard link filter.
- -s
- Show only the total size of each argument.
- -x
- Don't leave this filesystem.
- file
- The pathname of a file whose size is to be displayed. If you don't specify any files, the current directory is used.
Description:
The du utility prints the amount of file space allocated to the specified files and directories. The size of the file space is given with the following options:
- -b
- Apparent bytes (directory listing size, not space used).
- -h
- Human readable output (e.g., 1KB, 243 MB, and 2 GB).
- -k
- 1024-byte blocks.
- -K
- 512-byte blocks (POSIX, default).
- -m
- Megabytes.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: