Here’s the command by which you can clear up HANA logs or other logs which are older than the numbered days(value you put).

 

hana

 

 

 

 

 

 

find /hdb/ZTT/backup/log -type f -name “log_backup*” -mtime +50 -exec /bin/rm -f {} \;

You might want to set this as a cronjob and get over the manual deletion of logs.

Try it out 🙂

Advertisements