Title: | POLYCENTER Console Manager |
Notice: | Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS: |
Moderator: | CSC32::BUTTERWORTH |
Created: | Thu Aug 06 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1541 |
Total number of notes: | 6564 |
Hi 1. If I do an ARCHIVE operation, should I expect the .LOG-, .EVENTS- and .TIMES-files to shrink? If not, is it any problems to delete the above mentioned files (other that the log-data for the systems are lost)? 2. how would you set up an archiving strategy if: - you want to have the last 48 hours of logs 'online' - you want the logs older than 48 hours but younger than 3 weeks archived - data older than 3 weeks is of no interest, and should be deleted would this work if run every two days? CONSOLE ARCHIVE ALL /KEEP=48 CONSOLE ARCHIVE ALL /BEFORE="-21-" /DELETE Thank you! /Nils
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1173.1 | CSC32::BUTTERWORTH | Gun Control is a steady hand. | Tue Jan 30 1996 18:45 | 30 | |
>1. If I do an ARCHIVE operation, should I expect the .LOG-, .EVENTS- and > .TIMES-files to shrink? > If not, is it any problems to delete the above mentioned files (other > that the log-data for the systems are lost)? Yes, the files should shrink if data was actually archived. If you decide to deleted the files you must do so with PCM shutdown. >2. how would you set up an archiving strategy if: > - you want to have the last 48 hours of logs 'online' > - you want the logs older than 48 hours but younger than > 3 weeks archived > - data older than 3 weeks is of no interest, and should be deleted > would this work if run every two days? > CONSOLE ARCHIVE ALL /KEEP=48 > CONSOLE ARCHIVE ALL /BEFORE="-21-" /DELETE Not quite. The ARCHIVE command only works on the active logfile. It can't delete the files that are already in the archive. You must have a command file do the latter piece for you. REgs, Dan Thank you! /Nils |