From: Bruce on
Hi All,

Kindly let me know what does this line mean:

smf_logs -C 8 -s 1m /var/svc/log/*.log

I understand that there will be 8 copies of log file under /var/svc/
log each of size 1 MB. But I do not understand what does “smf_logs”
mean?

Regards,
Bruce
From: solx on
Bruce wrote:
> Hi All,
>
> Kindly let me know what does this line mean:
>
> smf_logs -C 8 -s 1m /var/svc/log/*.log
>
> I understand that there will be 8 copies of log file under /var/svc/
> log each of size 1 MB. But I do not understand what does �smf_logs�
> mean?
>
> Regards,
> Bruce


man logadm

smf_logs - logname identifies entry in /etc/logadm.conf
-C number of log files to keep
-s maximum size of log file
/var/svc/log/*.log - identified the logs