A SERVICE OF

logo

Chapter 3 195
Command Definitions C-E
DISKUSE
Examples
The illustration below shows a hierarchical directory structure, upon which all of the
succeeding examples are based. Directory names are shown as the character d plus a
number (for example, d0), and file names are shown as the character f plus a number (for
example f1). For illustrative purposes, the HPPROMPT variable has been set to show the
current working directory (HPCWD). For example:
:setvar hpprompt "hpcwd:"
/ACCT/GROUP/d0:
Hierarchical Directory Structure
/ACCT/GROUP/d0 = CWD
|
-----------------|------------------------------
| | | | | |
d1 d2 d3 f1 f2 f3
||
---------|-------------- |---------------------
| | | | | | | | | | |
d4 f4 f5 d5 d6 f6 d7 f7 f8 f9 f10
| | | |
--|---- -|- ---|------ --|--------------------
| | | | | | | | | | | |
f11 f12 d8 f13 f14 f15 d9 f16 f17 f18 f19 f20
The example shown below illustrates the format of the DISKUSE output. In this example,
the TREE option is implied by the trailing slash (/). The current working directory (CWD)
relative display is shown as part of the header line. If the CWD name is long, it truncates
with a dollar sign ($).
/ACCT/GROUP/d0:diskuse ./
SECTORS
TREE LEVEL DIRECTORY (CWD= /ACCT/GROUP/d0)
BELOW
64 + 0 ./d1/
96 32 ./d2/d4/
64 0 ./d2/d5/d8/
128 64 ./d2/d5/
112 48 ./d2/d6/
448 + 240 ./d2/
64 0 ./d3/d7/d9/
208 144 ./d3/d7/
336 + 128 ./d3/
48 + 0 (files directly below specified directory)
960 240 ./ (64 +)
/ACCT/GROUP/d0:
Each of the columns contains information about the directory.
DIRECTORY (left-justified) Displays the selected directory name, in HFS-format. The
directory pathname wraps around to the next line if it is longer than the
field.
LEVEL BELOW (right-justified) Shows the number of sectors allocated directly to all
objects immediately under the named directory. The space used by the
listed directory file (container) does not contribute to this number, nor does
the space used by the objects under directories under the displayed