sdu - Summarizes disk usage
sdu
[-a]
[-b]
[-c]
[-D]
[-h]
[--help]
[-k]
[-l]
[-L]
[-m]
[-s]
[--si]
[-S]
[--version]
[-x]
[file …]
This man page describes the GNU version of the du (1) command
as enhanced by Oracle for the
Oracle HSM file system.
The sdu command
displays the amount of disk space used by each file
argument. If file is a directory, the command returns disk
space information for each subdirectory of file.
If file is a removable media file, the command returns 0
for the size of that file.
By default, the space is
returned in 1K blocks, but if the POSIXLY_CORRECT environment
variable is set, 512-byte blocks are reported.
The sdu command
displays actual disk blocks for online Oracle HSM
files. It also displays an estimate of disk
blocks (based on file size) for offline Oracle HSM
files.
To get actual disk block usage for both online and offline
files, use the du (1) command.
This command accepts the following options:
-aDisplays counts for all files, not just directories.
Equivalent to specifying --all.
-bDisplays sizes in bytes.
Equivalent to specifying --bytes.
-cWrites a grand total of all of the arguments after all
arguments have been processed. This can be used to determine
the disk usage of a directory with some files excluded.
Equivalent to specifying --total.
-DDereferences symbolic links that are command line arguments. Does not
affect other symbolic links. This is helpful for determining the disk
usage of directories like ∕usr∕tmp if they are symbolic links.
Equivalent to specifying --dereference-args.
-hDisplays sizes in human-readable format. For example, 1K, 234M, 2G.
Equivalent to specifying --human-readable.
--helpWrites a usage message to standard output and exits successfully.
-kDisplays sizes in kilobytes.
This overrides the environment variable POSIXLY_CORRECT.
Equivalent to specifying --kilobytes.
-lCounts the size of all files, even if they have appeared already in
another hard link.
Equivalent to specifying --count-links.
-LDereferences symbolic links. That is, the command shows the
disk space used by the file or directory that the link points
to instead of the space used by the link.
Equivalent to specifying --dereference.
-mUses 1024-kilobyte blocks, not 512, regardless of
the POSIXLY_CORRECT environment variable setting.
Equivalent to specifying --megabytes.
-sDisplays only a total for each argument.
Equivalent to specifying --summarize.
--siLike -h, but size is displayed in base 10 units.
-SCounts the size of each directory separately, not including the sizes
of subdirectories.
Equivalent to specifying --separate-dirs.
--versionDisplays version information on standard output then exits successfully.
-xSkips directories that are on different file systems from the one that
the file being processed is on.
Equivalent to specifying --one-file-system.
Specifies the file or the path to the file being analyzed. The size is written. If no file is specified, the current directory is used. If more than one file is specified, separate each with a space character.