CHKBLKS: check files for blocks used
Description
Produces a listing of files on a volume whose disk space
allocation exceeds a selected number of blocks.
Categories
Disk Management
System Operation
Related files
CHKBLKS: Object file and BASIC source.
User Instructions
From the OPTIONS screen, enter the number of blocks that will
be used as a threshold, the volume name, and whether errors
are to be displayed (select NO if run from a background
procedure). Press (RETURN) to continue or PF(16) to exit
without processing.
CHKBLKS will produce a short listing with the file, library,
and volume, blocks allocated and owner ID.
Programmer Instructions
OPTIONS Press (RETURN) to continue, PF(16) to exit
without processing.
BLOCKS (blank) The number of blocks to be searched
for.
VOLUME (blank) The volume to be searched.
ERRDISP YES Whether errors are displayed on the
workstation. Change to NO if run
from a procedure in background.
The listing
consists of the file name and location, blocks allocated, and owner ID.
BASIC source is available.
Example of use
Use to quickly determine what are the large files on a
volume. Enter the volume name and the lower limit of blocks
allocated and press return to analyze the volume.
Note that the all users of the disk under examination will
"freeze" while the disk catalog (VTOC) is being examined.
This is because the entire VTOC is extracted during
analysis. For this reason, non-emergency use of CHKBLKS
should be limited to times when there are no users on the
system.
Comments
Crude but effective. A good fast way to check for the disk
"hogs" on your system. Might also be used to produce and
maintain a data base of large files on the system.