
				Abstract

	The JUICER package of programs and command files is provided to the
system manager to allow him to monitor VAX/VMS ODS-2 disks for disk and file
fragmentation, disk usage and to do such compression as might be needed. 
The package is made up of eight (8) parts: 
(1)JUICER_1 to do stand alone disk compression
(2)JUICER_2 to do on line disk and file defragmentation while disk is in use
   by other users
(3)FRAG to monitor disk fragmentation 
(4)FILE to monitor and optionally compress fragmented files
(5)DIR to make a map of a disk directory structure and its file/block usage
(6)DISK to show by user and account the number of disk blocks in use,
   authorized and overdraft.
(7)DISKMON to run as a detached process to provide a constant monitor of all 
   disk(s) free space.
(8)BAD to scan a selected disk for bad blocks and on user OK, try to
   repair them.

	JUICER_1 is an in-place disk compression utility for VAX/VMS ODS-2
disks suffering from excessive fragmentation. This program,with in limitations,
attempts to move portions of files from the high end of  the disk to any unused
areas (fragments) at the low end. Freeing up larger contiguous free areas at
the high end.

	JUICER_2 is an on-line in-place disk and file compression utility for
VAX/VMS ODS-2 disks suffering from excessive fragmentation. This program 
runs on-line while other users are also using the disk. It defragments the
most defragmented files that it can find that will fit in the largest contiguous
free areas on disk, and moves other files as far down toward the low end of
the disk as it can, filling up free fragments at the low end and freeing
up more space at the high end.

	FRAG is run on a disk to see badly the target disk free space is
fragmented. Giving a histogram of fragmented areas by size, a calculated
measure of the disk free space fragmentation and, if wanted, a map of free
fragments by starting LBN vs size.

	FILE scans all the file headers on the target disk and outputs two
list files, one containing a list of the 100 files having the most retrieval
pointers in use and the second being a matrix of file size verses number of
pointers in use. The command file CONTIG is used which reads one of the list
files produced by FILE and running interactively with the user, converts the 
listed files from fragmented to contiguous.

	The command file DIR scans a target disk and creates an output file 
DIRECTORY.MAP containing a graphical output showing the on disk directory 
structure, with a notation for each directory showing the number of files 
and blocks contained therein.

	The command file DISK.COM sets up data for the program DISK.EXE which
produces a list by user and account (for each disk specified) of disk blocks
in use, authorized and permitted overdrafts.

	DISKMON is a program that I found on a VAX sig tape submitted by
Eric Richards of Gould Ocean Systems, 18901 Euclid Ave, Cleveland, Ohio
44117. It is a detached process which constantly monitors all disks
on the system and warns when free space falls below preset values.

	BAD is a program that when run, scans a selected disk for bad blocks.
When a bad block is found, the user is asked if BAD should attempt to rewrite
the block, assuming a soft error. If the rewrite is selected, the user can
select to edit the contents of the bad block before the rewrite is attempted.
