Opensource logrotate utility for AIX

Technote (FAQ)


How can I rotate error log or other log files?


Ability to rotate log files to prevent unchecked growth and filesystem space usage.




Information in this document is correct to the best of our knowledge at the
time of this writing. Please use this information with care. IBM will not be
responsible for damages of any kind resulting from its use. The use of this
information is the sole responsibility of the customer and depends on the
customer's ability to evaluate and integrate this information into the
customer's operational environment.

There is an open source utility called 'logrotate' which can be installed on AIX in the form of an RPM and used for rotating log files. Once installed, the /etc/logrotate.conf file can be configured per your needs and a cron job configured to call logrotate run at the desired intervals.
The logrotate for AIX RPM can be obtained at
It should come with a README on how to configure, but the following website has an easy to follow guide to configuration of logrotate...
Additional information on logrotate may be found on the IBM developerWorks:Forum...

The logrotate utility is not an IBM product and is unsupported but IBM, however some customers have indicated they have used it with success. Please install and use logrotate at your own risk.


Rate this page:

(0 users)Average rating

Document information

More support for:

AIX family

Software version:

Version Independent

Operating system(s):


Reference #:


Modified date:


Translate my page

Machine Translation

Content navigation