PigsInSpaceDoc.tioga
Last edited by Bob Hagmann, July 4, 1986 9:25:37 am PDT
PigsInSpaceDoc
CEDAR 6.1 — FOR INTERNAL XEROX USE ONLY
PigsInSpace Documentation
Bob Hagmann
© Copyright 1985 Xerox Corporation. All rights reserved.
Finds the largest files on a logical volume.
Keywords: FS cache
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
1. Usage
PigsInSpace {count ← 10} {-n count | -v volume | -c | -l | -r }*
 Print the largest 'count' files on the 'volume'. The volume must be a Cedar volume.
The full file name is printed with its file size in pages.
The 'c' switch means don't list cached file
 The 'l' switch means don't list local files
 The 'r' switch means don't list root files
2. Discussion
An enumeration is done, and the largest FS files found are printed. ``Root files'' that have a FS name (i. e., the FS BTree, checkpoint and VAM) are enumerated twice: once as a root file and once as an FS file. The enumeration is moderately slow: 2-5 minutes on a full sized T-80 disk partition on a Dorado is normal. This is because the program has to open up every file in the cache to find its size. The machine is somewhat sluggish during this command.