Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

How to rotate the log messages?

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 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 Unix and Linux 09-19-2013
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 8 December 2016, 2:54 AM EST
Location: Switzerland - GE
Posts: 6,349
Thanks: 247
Thanked 525 Times in 488 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 Unix and Linux 09-19-2013
in2nix4life's Unix or Linux Image
in2nix4life in2nix4life is offline
Registered User
 
Join Date: Oct 2007
Last Activity: 9 October 2016, 12:41 PM EDT
Location: East Coast
Posts: 621
Thanks: 1
Thanked 177 Times in 163 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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 08:39 AM
Rotate log files msanbrug Shell Programming and Scripting 7 07-30-2009 10:01 AM
Script for Log Rotate El Rengo Shell Programming and Scripting 1 12-24-2008 06:43 AM
log rotate cromohawk UNIX for Advanced & Expert Users 6 10-11-2008 11:08 AM
how to rotate log files satya_skm Shell Programming and Scripting 0 03-08-2008 09:51 PM



All times are GMT -4. The time now is 05:46 AM.