Tuesday, September 30, 2014

Clearing Auditlog/Auditlog

From time to time, these tables gets pretty big, it is recommended to clear them once a week:
tabprune eventlog -a
tabprune auditlog -a
Also, it is recommended to create a cron job that will do it automatically:
crontab -e
00 00 * * Sun /opt/xcat/sbin/tabprune auditlog -a
00 00 * * Sun /opt/xcat/sbin/tabprune eventlog -a

No comments:

Post a Comment