***START

Name of Procedure:	DISKSPACE.COM

Brief Description:	This procedure enables someone with suitable
			privileges to determine how much disk space is being
			used by	different directories.

Origin:			Obtained from Dave Schmidt, Management Sciences Assoc.
			LSTDIR.FOR supposedly originally came from DEC.
			LSTDIR.FOR modified to include disk specification info
			by J. Thompson, Intermetrics

Date:			December 23, 1978

Module Names:		DISKSPACE.COM	Command file
			LSTDIR.FOR	FORTRAN source to list directories
			TOTAL.FOR	FORTRAN source for formatting output
					produced by the result of running the
					indirect command file, DIRALL.COM,
					which in turn was produced by LSTDIR.
			LSTDIR.EXE	Executable file
			TOTAL.EXE	Executable file


Program Generation:	FOR LSTDIR
			FOR TOTAL
			LINK LSTDIR
			LINK TOTAL

Program Use:		Edit DISKSPACE.COM to change the name of the disk that
			is to be checked for usage.

			Use BATCH, e.g.  SUBMIT DISKSPACE

			Remember that to look at all directories on the disk
			you need read privilege for everything.  The SYSTEM
			MANAGER is therefore the appropriate person to run
			this procedure.


What Happens:		LSTDIR generates DIRALL.COM which contains a list of
			indirect commands for PIP such as

				$MCR PIP DIRECT.002=DB1:[DNAME.SUB1.SUB2]/TB

			When DIRALL.COM is run the default directory will
			have in it files DIRECT.001, DIRECT.002, etc for
			all the directories and subdirectories on the disk.

			TOTAL extracts from the DIRECT.nnn files all the
			total block information and groups it for each
			main directory and writes it to the file DISKSPACE.DAT.

****END
