MPE/iX Commands Reference Manual (32650-90877)
158 Chapter5
Command List III
Commands DATA thru EXIT
aborts execution.
Examples
The following example illustrates the use of the DISCUSE UDC. Note that a message is
printed to remind you to use the DISKUSE command.
DISCUSE
Please use the DISKUSE command.
^
SECTORS
TREE LEVEL DIRECTORY (CWD= /ACCT/GROUP/d0)
BELOW
2100 330 .
Refer to the DISKUSE command later in this chapter for additional examples.
Related Information
Commands DISKUSE, LISTFILE, REPORT
DISKUSE
Displays disk space usage, in sectors, for one or more directories or a directory tree.
Syntax
DISKUSE[[DIR=]
dir_name
] [; TREE | NOTREE | USENAME ]
Parameters
dir_name
Directory name for which information is being listed (optional). The
dir_name
is assumed to be an MPE syntax name. HFS-named directories
may be shown if
dir_name
starts with a dot (.) or a slash (/). If
dir_name
is
an HFS name and ends in a slash, then all objects at all levels under and
including
dir_name
are reported, unless the NOTREE option is speciļ¬ed.
The use of wildcards is permitted. If
dir_name
is omitted, the process'
current working directory (CWD) is assumed.
TREE Causes all directories below and including
dir_name
to be reported. The
dir_name
may or may not end in a slash (/), with no error or warning
detected. Since the MPE naming convention does not support a trailing
slash (/), the TREE option is the only way to report multi-level disk space
usage for an MPE-named directory in a single command.
NOTREE Causes
dir_name
only to be reported. If
dir_name
is an HFS name and
ends in a slash (/), a warning tells you that NOTREE overrides the trailing
slash (/).
USENAME Causes DISKUSE to use
dir_name
name to decide whether or not to display
multiple levels of directories. If
dir_name
is an HFS name and ends in a
slash (/), then it and all directories under it are shown. If
dir_name
does
not end in a slash (/), then only
dir_name
is reported. The USENAME