rotating a log yearly
I am having some troubles using /usr/sbin/logadm to rotate sulog yearly. Can someone please assist with the correct syntax to rotate the sulog yearly? I'd like to maintain up to 3 years of logs.
I am on Solaris 10.
I won't know if this actually works due to the fact that our logs are changed out by a script (and by logadm - great, now I have to see if they are messing with each other)...but in reading the logadm man page, this looks like it would work to change the log every year, and keep 3 years worth...hope you have disk space!
Let us know in 2013 how it worked! :)
|All times are GMT -4. The time now is 05:56 AM.|
Linux and Unix Supported by: vBulletin
Search Engine Optimisation provided by DragonByte SEO v1.1.4 (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
The UNIX and Linux Forums Content Copyright ©1993-2013. All Rights Reserved.
Forum Operations by The UNIX and Linux Forums