AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
 View Only
  • 1.  logrotate in AIX 5.3 & AIX 6

    Posted Thu May 06, 2010 08:50 AM

    Originally posted by: chetanatmy


    Hi,

    Can anybody helps me with logrotate tool/rpm/filesets for AIX 5.3 & AIX 6 !

    appriciate your help.
    #AIX-Forum


  • 2.  Re: logrotate in AIX 5.3 & AIX 6

    Posted Thu May 06, 2010 10:00 AM

    Originally posted by: SystemAdmin


    logrotate rpm is at www.perzl.org
    #AIX-Forum


  • 3.  Re: logrotate in AIX 5.3 & AIX 6

    Posted Fri May 21, 2010 02:21 AM
      |   view attached

    Originally posted by: sck


    Hi,

    You can install the logrotate rpm in AIX. After installing the rpm one configuration file will be created in /opt/freeware/etc/logrotate.conf which can help you to perform logrotation on various log files.

    Output of logrotate.conf file

    /var/adm/ras/errlog {
    monthly
    rotate 3
    }

    Above entry from logrotate.conf will rotate errpt logs every month and create a fresh errpt on start of month as well as it will keep three old errpt log file.

    To automate the task you can take help of crontab as well.

    Kindly take a look at attachment.
    Regards

    Sunil
    #AIX-Forum

    Attachment(s)