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
Info from core file fredginting SUN Solaris 3 07-01-2008 10:37 AM
How to use a core dump file lagigliaivan High Level Programming 2 05-26-2008 06:06 AM
core file fredginting SUN Solaris 1 04-22-2008 08:46 AM
How to use core file? lakeat High Level Programming 9 04-01-2008 05:46 PM
core file sveera SUN Solaris 2 05-23-2005 12:52 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2008
Registered User
 

Join Date: Apr 2008
Posts: 15
Stumble this Post!
How to read a core file

I have a SUN Ultra 80 running Solaris 5.8 I have a couple of applications running on it. The /var/core file seems to be filling up by 2% per day.
Could anyone pls suggest how to read contents of /var/core I have read couple of docs but seems to be too cumbersome. Please suggest something
example is as below

root@BALUQATGZ2:/var/core# ls -tl
total 168336
-rw------- 1 root root 15608472 Apr 9 14:25 core.rwrun60.15060.BALUQATGZ2.0.0.1207743907
-rw------- 1 root root 15608472 Apr 9 14:25 core.rwrun60.15060.BALUQATGZ2.0.0.1207743904
-rw------- 1 root root 15379096 Nov 27 2007 core.rwrun60.10924.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-02-2008
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,309
Stumble this Post!
maybe you can find something usefull here:
Less known Solaris Features: About crashes and cores - c0t0d0s0.org
Reply With Quote
  #3 (permalink)  
Old 07-03-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 710
Stumble this Post!
Only SUN can provide you the proper RCA for coredumps. You will not be able to determine much yourself unless you have some in-built FMA tool on your system
Reply With Quote
  #4 (permalink)  
Old 07-03-2008
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Stumble this Post!
Actually these are application cores. The coreadm command has been used to put cores in this location instead of leaving them strewn around the filesystem. You can do the usual pstack core etc to get thread dumps, or if you have source for the applications in question you could run a debugger to see what is happening. If this is from a third party application the simplest thing is to go to the vendor support and provide the core files to allow them to resolve the problem.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:55 AM.


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