03/26/85 move_log_segments Syntax as a command: move_log_segments log-name from-dir to-dir cutoff Function: moves log segments from one directory to another, updating the previous log information in the log segment headers so that the log tools (print_sys_log, summarize_sys_log) will continue to find the moved log segments. Because it is necessary to update log segment headers, this command must be used to move log segments; using the move command will cause the segments to become unlocatable. Arguments: log-name is the name of the log whose segments are being moved. This should be the entryname of the first segment in the log (e.g. log, admin_log, dm_system_log, syserr_log); it must not be a pathname. from-dir is the directory in which to look for segments to move. to-dir is the directory to which to move the segments. cutoff is a time value specifying which logs are to be moved. All log segments whose messages are all dated before the cutoff are moved. See the Multics Programmer's Reference Manual, Order No. AG91, for a description of valid time string values. Notes: Old log segments are identified by a timestamp suffix (YYYYMMDD.HHMMSS), which identifies the time of the latest message in the log segment. This suffix is tested against the cutoff time, and if it is earlier than the cutoff, the log segment is moved. A history directory must contain at least one segment; even if the one remaining segment is earlier than the cutoff, it will not be moved, in order to keep the chain correct. Thus, a cutoff of the current time can be used to move all but the most recent log segment into another directory. Notes on history directories: An arbitrary number of history directories can be maintained; for instance, one for the current day's logs, one for the previous week's, and one for the previous month's. This allows logs to be distributed onto various storage media, perhaps placing older logs on a demountable volume, or even on tape. Because log segments are self-identifying (from the suffix), they can be placed on tape and later retrieved selectively into a history directory; the print_sys_log command will still be able to find them if that history directory is in the chain. ----------------------------------------------------------- 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