As [tt]root[/tt], do a "[tt]crontab -l[/tt]". One of the cron jobs is [tt]/usr/lib/newsyslog[/tt]. This is the script that rolls [tt]/var/adm/messages[/tt]. It's a pretty simple script so it should be easy to modify for your needs.
The only caveat is that it is a Sun supplied script, so any changes could be overwritted with a future patch or upgrade.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.