How to rotate the log messages? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

How to rotate the log messages?

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-19-2013
Rahulne25 Rahulne25 is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 18 February 2014, 6:09 AM EST
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Display How to rotate the log messages?

Hi,

i want to log rotate the /var/adm/messages file after reaching the specified limit and delete those logs. how do i do that.

i you solaris 10 OS ,Please help me in doing the same....
Sponsored Links
    #2  
Old 09-19-2013
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 23 July 2014, 1:44 AM EDT
Location: Switzerland - GE
Posts: 5,609
Thanks: 151
Thanked 387 Times in 364 Posts
the last post of your previous thread gives you the answer:
http://www.unix.com/unix-dummies-que...ting-logs.html
Sponsored Links
    #3  
Old 09-19-2013
in2nix4life's Avatar
in2nix4life in2nix4life is online now
Registered User
 
Join Date: Oct 2007
Last Activity: 23 July 2014, 1:34 PM EDT
Location: East Coast
Posts: 594
Thanks: 1
Thanked 170 Times in 156 Posts
It's a little different on Solaris. The tool is called logadm. You can either check the man pages for logadm and logadm.conf, or look here for the cliff notes.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with a rotate log script newbie_01 Shell Programming and Scripting 7 09-08-2012 07:39 AM
Rotate log files msanbrug Shell Programming and Scripting 7 07-30-2009 09:01 AM
Script for Log Rotate El Rengo Shell Programming and Scripting 1 12-24-2008 05:43 AM
log rotate cromohawk UNIX for Advanced & Expert Users 6 10-11-2008 10:08 AM
how to rotate log files satya_skm Shell Programming and Scripting 0 03-08-2008 08:51 PM



All times are GMT -4. The time now is 01:54 PM.