A SERVICE OF

logo

196 Chapter 3
Command Definitions C-E
DISKUSE
directory. The sum of the number of sectors reported by the following
command equals the number shown under the LEVEL BELOW column. The
number in the LEVEL BELOW column is zero if the reported directory is
empty.
LISTFILE dir_name/@,2;NOTREE
TREE (right-justified) Displays the total number of sectors used by the directory
listed. This includes space used by the directory itself, all files immediately
under the directory, and space used by all subdirectory entries. The sum of
the number of sectors seen in the following command equals the total
number in the TREE column.
LISTFILE dir_name,2;TREE
The plus signs (+) shown in the TREE column refer to the directories that are one level
below the target directory. When added, the sectors shown in this example equal 896. The
last entry shows the total number of sectors (960) used by all subdirectories under the
target directory (896) plus the sectors used by the target directory itself (64).
The next example illustrates the use of the NOTREE option. Only the directory name is
displayed.
/ACCT/GROUP/d0:diskuse /ACCT/GROUP/d0 ;notree
SECTORS
TREE LEVEL DIRECTORY
BELOW
960 240 /ACCT/GROUP/d0/
/ACCT/GROUP/d0:
If the directory name parameter is omitted, the CWD is assumed, as seen in the following
example:
/ACCT/GROUP/d0:diskuse
SECTORS
TREE LEVEL DIRECTORY (CWD= /ACCT/GROUP/d0)
BELOW
960 240 ./
The next example illustrates the use of the TREE option. Information is reported for the
dir_name (d3) and all directories below.
/ACCT/GROUP/d0:diskuse ./d3/@ ;tree
SECTORS
TREE LEVEL DIRECTORY (CWD= /ACCT/GROUP/d0)
BELOW
64 0 ./d3/d7/d9/
208 + 144 ./d3/d7/
208 ./d3/@
/ACCT/GROUP/d0:
MPE syntax can also be used, as shown in the following example (note that the dir_name
(MYDIR) is upshifted.) This example is not based on the directory structure shown.
DISKUSE mydir.group.acct
SECTORS
TREE LEVEL DIRECTORY
BELOW
2100 330 /ACCT/GROUP/MYDIR