[logs] Log Script

From: Niall Omalley (DL/LMI) (niall.omalleyat_private)
Date: Mon Sep 01 2003 - 06:18:22 PDT

  • Next message: Jose Nazario: "Re: [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
    



    This archive was generated by hypermail 2b30 : Mon Sep 01 2003 - 18:08:54 PDT