The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increasing swap size akyuceisik HP-UX 1 05-09-2008 07:55 AM
Help on increasing fs size kingsto88 HP-UX 5 02-11-2007 03:37 AM
Increasing File Size on AIX Rosie C AIX 1 05-12-2006 01:25 AM
Increasing the FileSystem Size aldowsary AIX 9 07-18-2005 12:59 AM
Increasing a directory size jonest UNIX for Dummies Questions & Answers 9 06-08-2005 07:26 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #8 (permalink)  
Old 11-08-2007
Registered User
 

Join Date: Nov 2007
Posts: 13
Stumble this Post!
could you please open the message file and see what message they are? I hope it will help you to do RCA.
Reply With Quote
Forum Sponsor
  #9 (permalink)  
Old 11-09-2007
Registered User
 

Join Date: Oct 2007
Posts: 50
Stumble this Post!
Hi joerge,

i tried ur suggestion in little different way- "du -akdh /var | sort -nr > /tmp/var.out". It works well. Can you tell me also can I see when file has last modified by "du -akdh /var | sort -nr" Is it possible somehow to accomodate 'ls -lhtr' with command du -akdh /var | sort -nr | grep "M ". ??
Reply With Quote
  #10 (permalink)  
Old 11-09-2007
Registered User
 

Join Date: Oct 2004
Posts: 69
Stumble this Post!
Hi ThePurple

The fact that your messages.x files are so massive tells me you are logging shedloads of stuff in there.

I suggest you make copies of the messages.0 - messages.4 files to an alternative location and then do a # cat /dev/null > messages.0 etc to empty them. This will save you a few hundred MB and give you some breathing space. The next step would be to change your log rotation to rotate your messages files when they get to 10MB or something. Afterwards you should have a look at your /etc/syslog.conf file and amend it to log more efficiently.
Reply With Quote
  #11 (permalink)  
Old 11-13-2007
Registered User
 

Join Date: Nov 2007
Posts: 13
Stumble this Post!
You can use this command :

#for file in /tmp/var.out; do ls -lrt $file; done --> it will show you the timestamp.

If the file /tmp/var.out contain only file name, then use

#for file in /tmp/var.out; do find / -t f -name $file -print; done
Reply With Quote
  #12 (permalink)  
Old 11-13-2007
Registered User
 

Join Date: Feb 2007
Posts: 13
Stumble this Post!
Hi, you might be can check the /var/adm/sa. did you turn on the sa monitoring.. Just a piece of info.

Regards
Dunstan
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0