.__ __. .___. ._. ._. | \/ | / ____\ | | | | | \ / | \____ \ | |_| | |_|\/|_| \_____/ \_____/ Memphis State University Harry Flowers Internet: FLOWERS@MSUVX1.MEMST.EDU 112 Admin Bldg Bitnet: FLOWERS@MEMSTVX1 Memphis, TN 38152 Phone: (901) 678-2663 +-------------------------------------------------------------------------+ | Disclaimer: The author, Memphis State University, and DECUS assume no | | responsibility for the use or reliability of this software. | +-------------------------------------------------------------------------+ SUBMISSION DIRECTORY ==================== AAAREADME.TXT - This text file. Almost all of the programs in this directory are written in DCL and work here on VMS V5.2 or later except as noted (but see disclaimer above). As I use most of these programs regularly, I would be interested in any problems of a general nature you may have with them, or enhancements which would prove generally useful. Enjoy! Corrections and enhancements to previous submissions: ----------------------------------------------------- DISK_WATCHER.COM - Monitors free disk space. Added code to check process name as well as mode to determine the need for detaching; this overcomes the problems with @DISK_WATCHER in SYSTARTUP (in case you were unfortunate enough to have tried it). Also added an operator notification frequency so that the disks can be checked more frequently without bugging the operators. It is also more robust (would die when it couldn't open its temporary file during backups). I will be changing this to use the new F$DEVICE lexical in VMS V5.4 as soon as we upgrade (in time for the Spring 91 SIG tape). DISK.COM - Shows free disk space. I didn't write this one, but have made several mods from the original. The latest (since my last submission) is to use rounding in the percent used. RMSGLOBUF.COM - Shows files using RMS global buffers. Only invokes SDA once regardless of the number of files with global buffers. Eliminated directory search by using back links to get the directory path. Much faster for larger disks, but only tells you the primary file specification. Also changes from RMSGLOBUF.OLD below. RMSGLOBUF.OLD - Older (and much slower) version of RMSGLOBUF.COM. Cosmetic change for V5.n (SDA logs READ symbol tables) and ignore FORMS$ section names (search is now for RMS$8). I included this version just in case someone preffered getting all the files that map to that file name (not necessarily all that map to the FID). MENU.COM - DCL Menu System. Uses PSM$ANNOUNCE before SYS$ANNOUNCE if it is defined for the menu header. Removed all special terminal width handling (V2) to greatly increase performance. The only SET TERMINAL commands which remain are those for password handling. It's really incredible the difference it made. As the SET TERMINAL/INQUIRE has been removed, the terminal type is assumed to be correct on entry. See end of file for details. If you haven't looked at this one before, it's well worth the effort; I think it's a much more production-style system than most DCL menus. REVIEW.COM - Review all files in a directory. Added an option to print to an attached printer. What REVIEW allows you to do: $ REVIEW *.TXT will bring up each *.TXT file and let you either: TYPE Type the file on your terminal (only recommended for text) PRINT Print out the file on your attached printer EDIT Edit the file on your terminal (in read-only mode) DELETE Delete the file from this directory MOVE Copy the file to another directory and then delete it COMMAND Enter any DCL command NEXTFILE Go review the next file (the default response) QUIT Stop this review DELDIR.COM - Delete a directory and all files under it. Reversed the order of the protection change and the ACL delete so that control access gained thorugh an ACL will be sufficient to delete the file. OPENFILES.COM - Show all files open on a node. Added support for bound volume sets (would show all members once for each member of the set). This is just a SHOW DEVICE/FILES on each drive. I may modify to use F$DEVICE for the Spring 91 tape. If you really want to see all open files with a cluster setup, use with the SYSMAN utility to show for each node. New submissions: ---------------- FILCMDSUB.COM - Adds wildcard capability and flexibility to arbitrary commands; see end of file for examples. Can be very powerful. (For example, you could rename all XXX*.* to XXX*.*_OLD or edit *.COM.) May be used trivially to give wildcard capability to any DCL command. MEM.COM - What's happening with your last 10% of free memory? This procedure is very interesting if you wish to tune memory-poor systems (esp. if you know how the SYSGEN parameters work), and pretty boring on memory- rich ones. It's something like an in-depth memory portion of MONITOR SYSTEM. Shows modified list, free list, and page fault rate/second. Should work as-is on VMS V5.x systems, probably not on VMS V4.x. CHECK_QUOTAS.COM - Check process quotas for all processes in a cluster. Reports processes and usage for within 15% of remaining quota. You can pass any % to check in P1, any nodes to check in P2 (defaults to all), and whether to check mode "OTHER" (detached) processes by passing anything in P3. (Requires VMS V5.2 or later.) DISK_MOUNTER.COM - Mount disks in SYPAGSWPFILES or SYSTARTUP_V5 at boot. Will mount disks, waiting for drives to exist and become available. Handles single disk mounts and two-volume volume sets. Does not handle shadow sets. Just use it as you would the mount command without any qualifiers. FILE_BY_FID.COM - File information with only the disk and file id. Doesn't matter if the file is entered in a directory or not. Gives file name, owner, blocks, etc. using DUMP/FILE_HEADER on the file index. SHOUSRS.COM - Shows information I like to see. Can work cluster-wide. If I get the time, this is definately one I'd re-write in a HLL using SYS$GETJPI (instead of LIB$ like F$). Allows you to specify a user, node, and whether you'd like to see "OTHER" mode (detached) processes. STATS.COM - A Ctrl/T like utility, but will show differences between. The original came from Ehud Gavron, I re-wrote and made a minor bug fix. SHOWALL.COM - Executes all SHOW*.COM files (for procedures below). Each also has parameters, but you have to invoke them individually to specify something different than the defaults. SHOWFILLM.COM - Shows current file limit information. SHOWPGFLQUO.COM - Shows current page file quota information. SHOWWS.COM - Shows current working set information. BATCH_RUN.COM - For batch shops; send mail when a program RUN from batch encounters an error; optionally notify an operator. May encounter problems with nested command procedures which read from SYS$INPUT instead of SYS$COMMAND (same for top level, so no problem). ASKOPER.BAS - Defines a symbol with an operator reply; what you wish REQUEST/REPLY could do. Works with any operator classes. ASKOPER.DOC - Documentation for the above program. ASKOPER.OBJ - Object file for those without a BASIC compiler.