05/04/84 get_dir_quota Syntax as a command: get_dir_quota {paths} {-control_arg} Syntax as an active function: [get_dir_quota {path} {-control_arg}] Function: prints information about the directory quota and pages used by inferior directories. Arguments: paths are pathnames of directories for which you want quota information. If one of the paths is -working_directory (-wd), your working directory is used. If you don't supply paths, your working directory is assumed. The star convention is allowed. Control arguments: -long, -lg includes the cumulative time-page product for the current accounting period. The active function doesn't accept it. -quota returns the terminal quota on each directory. The default is to return terminal quota and number of pages used. -records_left, -rec_left returns the number of available pages in each directory, equal to the terminal quota minus the pages used. If a directory has no terminal quota set, the available pages are computed from the terminal quota on the lowest parent with nonzero terminal quota, minus the pages used under that parent with nonzero terminal quota. -records_used, -rec_used returns the number of pages used in each directory. Access required: You require status permission on each directory for which you want quota. Determining the value of -records_left may require access further up the hierarchy. If the required access is lacking, an error message is printed. Notes: The short form of output (the default) prints the number of pages of quota used by the segments in that directory and in any inferior directories charging against that quota. The output is prepared in tabular format, with a total, when you specify more than one pathname; when you give only one, a single line of output is printed. The long form of output gives the quota and pages-used information provided in the short output. In addition, it prints the logical volume identifier of segments, the time-record product in units of record days, and the date you last updated this number. Thus, you can see what secondary storage charges your accounts are accumulating. If you have inferior directories with nonzero quotas, you need print this product for all these directories in order to obtain the charge. Notes on active function: Supply only one directory in the active function. The star convention is not allowed. You can specify any of -quota, -records_left, or -records_used; the default is -quota. ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved