MPE/iX Commands Reference Manual (32650-90877)

Chapter 5 159
Command List III
Commands DATA thru EXIT
parameter only applies to HFS-named directories and is ignored for
MPE-named directories. The USENAME parameter is the default.
Operation
The DISKUSE command reports disk space, in sectors, for a directory. Disk space allocated
to directories themselves (including accounts and MPE groups) is counted as part of the
total number of sectors. The process' CWD is shown for all relative pathnames.
The number of components in the pathname controls the level of directories being
reported. If a pathname has four components, for example, /a/b/c/d, then only directories
with four or more components contribute to the output. This also applies to the use of
wildcard component names. For example, /@/@/@/@ only counts directories with at least
four components in their pathname (absolute or relative, depending on how it was
specified). MPE names follow the same formula: @.@.@ reports only MPE-named
directories one level below MPE groups. (@.@ is the same since it is qualified with the logon
account name.)
Use
You must have traverse directory entries (TD) and read directory entries (RD) permissions
to each directory contributing to the reported totals. TD access is needed to each directory
component named in
dir_name
. (Refer to the ALTSEC command in this chapter for
additional information on directory permissions.)
Note that the MPE syntax cannot specify a
group.account
. MPE syntax only permits
dir.group.acct
if
dir
is a valid MPE name; that is, all uppercase alphanumeric. (If
group.account
were specified, it would be interpreted as a file called
group.account.logon_account
.)
Directory errors can occur while DISKUSE is collecting file space information. For example,
if you lack traverse directory entries (TD) access to one or more of the lower level
directories, an error occurs.
If ;TREE is specified, you will only be able to see directories that you have TD and RD
access to. DISKUSE stops on the first error encountered. This may result in no data (other
than a header) displayed, or in the case of wildcard names, some directories are seen (up to
the directory where the error occurred). Even in the wildcard directory name case, once an
error is encountered, DISKUSE terminates.
There are several ways to see all disk space used on the system:
To show the disk space for every directory on the system, enter:
DISKUSE /
To show only the total system disk space in one line, enter:
DISKUSE /;NOTREE
NOTREE option overrides directory name ending in "/". (CIWARN 9041)
To display disk space used by all directories directly under the root, enter:
DISKUSE /@