DISKUSE

DISKUSE

This command displa ys disk space usage, in sectors, for one or more directories or a directory tree.

Syntax

DISKUSE 22 DIR= 3dir name 3 2 ; TREE NOTREE USENAME 3

Parameters

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

dir

 

name

Directory name for whic h information is being listed (optional).

 

 

 

 

The dir

 

name is assumed to be an MPE syn tax name.

 

 

 

 

 

 

 

HFS-named directories ma y 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 lev els 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 belo w and including dir

 

name to be

 

 

 

 

reported. The dir

 

name may or may not end in a slash (/),

 

 

 

 

 

 

 

with no error or w arning detected. Since the MPE naming

 

 

 

convention does not support a trailing slash (/), the TREE

 

 

 

option is the only w ay 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 w arning 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 parameter

 

 

 

 

 

 

 

only applies to HFS-named directories and is ignored for

 

 

 

MPE-named directories. The USENAME parameter is the

 

 

 

default.

MPE/iX Commands 2-59