log rotation

Help
krycha
2012-09-18
2013-05-28
  • krycha

    krycha - 2012-09-18

    Is there a way to have log rotation from nmon, to be more specific I would like to have one log per day.

     
  • Jozef Riha

    Jozef Riha - 2012-09-19

    log rotation is not implemented in nmon, but you can still run it via cron - say - each midnight with 5 minute sampling interval for the period of 24 hours and setup another cronjob that deletes nmon files older than 7 days.

     
  • krycha

    krycha - 2012-09-19

    good point, thanks

     

Log in to post a comment.