Have you checked the Log Rotation Tools selection at http://www.loganalysis.org/sections/rotation-tools/index.html ? There are several tools there that can do what you want. Best Regards, jpb === -----Original Message----- From: Niall Omalley (DL/LMI) To: 'loganalysisat_private' Sent: 9/1/03 9:18 AM Subject: [logs] Log Script Hi, Has anyone got any good unix shell scripts for log management. What I want to do is check size of log, create a folder for the log archive the log by tarring and gzip, and rename the log with the date, time of the archive. The script will check the size of the log intermittently using a cron job and perform the necesssary if any work need to be done. The successful log archiveing will send a message to the root user. If anyone out there could help, this would be great. regards Niall _______________________________________________ LogAnalysis mailing list LogAnalysisat_private http://lists.shmoo.com/mailman/listinfo/loganalysis Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ThruPoint, Inc. _______________________________________________ LogAnalysis mailing list LogAnalysisat_private http://lists.shmoo.com/mailman/listinfo/loganalysis
This archive was generated by hypermail 2b30 : Tue Sep 02 2003 - 07:00:21 PDT