XEROX NSALLOCATION 2 4 1 NSALLOCATION 1 4 By: Becky Burwell (Burwell.pa@Xerox.com) This document last edited on February 21, 1988. INTRODUCTION The module NSALLOCATION provides a report of file drawer usage on Xerox NS file servers. Statistics on the size and usage of file drawers which have unrestricted and restricted size are determined. A filter on file drawer names can be specified. USE This module provides a single function: (NSALLOCATION FileServers ReportFile Filter) [Function] This function produces a report of the allocation of file drawers on FileServers writing to the file ReportFile using Filter as a filter on file drawer names. FileServers is a list of atoms or strings of file server names. ReportFile is an atom or string representing the name of the generated report file. Filter is a pattern to be matched with file drawer names. Only those file drawers matching the pattern will be included in the statistics. EXAMPLES (NSALLOCATION '("Pallas:AISNorth:Xerox" "Pele:AISNorth:Xerox") 'Report) would produce a report file named Report on the allocation of file drawers belonging to the two NS file servers Pallas:AISNorth:Xerox and Pele:AISNorth:Xerox. If you wanted to know about the file drawers on Pallas which had the substring "Course" in them you could do the following: (NSALLOCATION '("Pallas:AISNorth:Xerox") 'Report "*Course*") If you wanted to know about the file drawers on Pele which started with the substring "Lisp" you could do the following: (NSALLOCATION '("Pele:AISNorth:Xerox") 'Report "*.;1) is matched. Explanation of Report The very top of the report will list the filter if any. The rest of the report has a summary of statistics, one line per file service. For best results print the file in landscape mode. The following is an explanation of the columns in the report (reading from left to right): File Service Name [Column Heading] The name of the file service pertaining to the statistics on that line. # Pages Used Unrestricted [Column Heading] The number of pages used in file drawers that do not have a limit.[Column Heading] # as % of disk [Column Heading] The previous statistic as a percentage of the disk size (it is assumed that there are 433907 pages on a NS file server disk). # Pages Used Restricted [Column Heading] The number of pages used in file drawers that have a limit. as % of alloc [Column Heading] The percentage of the previous statistic as a percentage of the number of pages that have been allocated to file drawers. # Pages of alloc [Column Heading] The number of pages that have been allocated to file drawers. as % of disk [Column Heading] The pages allocated to file drawers as a percentage of the disk size. Total % Used of disk [Column Heading] The percentage of pages that are in use on the file server. (LIST ((PAGE NIL (PAPERSIZE Letter FOLIOINFO (ARABIC "" "") STARTINGPAGE# 1) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 INVISIBLE OFF SELECTPOINT OFF PROTECTED OFF SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF EXPANSION REGULAR SLOPE REGULAR WEIGHT MEDIUM INVERTED OFF USERINFO NIL STYLE NIL) FORMATINFO (ARABIC "" "")) (174 36 288 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 528 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL (PAPERSIZE Letter FOLIOINFO (ARABIC "" "")) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 INVISIBLE OFF SELECTPOINT OFF PROTECTED OFF SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF EXPANSION REGULAR SLOPE REGULAR WEIGHT MEDIUM INVERTED OFF USERINFO NIL STYLE NIL) FORMATINFO (ARABIC "" "")) (174 36 288 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 528 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL (PAPERSIZE Letter FOLIOINFO (ARABIC "" "")) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 INVISIBLE OFF SELECTPOINT OFF PROTECTED OFF SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF EXPANSION REGULAR SLOPE REGULAR WEIGHT MEDIUM INVERTED OFF USERINFO NIL STYLE NIL) FORMATINFO (ARABIC "" "")) (174 36 288 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 528 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))))).ÈÈ.È È(È(ŠŠ8(ŠŠ8DÈÈ PAGEHEADING RUNNINGHEADTERMINAL  HELVETICA MODERN MODERN MODERN MODERNMODERN LOGO  HRULE.GETFNMODERN  HRULE.GETFNMODERN  HRULE.GETFNMODERN   HRULE.GETFNMODERN  HRULE.GETFNMODERN */ ù( E  % 6 K‰ H¡|=y:¨¼[HS< z> G< œƒzº