Unable to rotate the /var/adm/messages in logadm.conf gile
Hi Experts,
I would like to rotate /var/adm/message files (Solaris 10 & 11) weekly once and need to keep for 180 days. I have put the below entry in /etc/logadm.conf file.
/var/adm/messages -C 25 -p 7d -a 'kill -HUP `cat /var/run/syslog.pid`' -z 0
-C : No: of files
-p: 7 days
-z : "-z 0" option to compress logfiles after they are rotated
But still I'm unable to rotate the files. Please let me know, the changes needs to perform on above entry in /etc/logadm.conf file.
Thanks in advance.
Regards,
Fuad