The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
core dump bapi AIX 1 04-23-2008 01:30 AM
Core Dump vinp UNIX for Advanced & Expert Users 1 10-22-2007 04:49 AM
Core dump in HP-UX.. gyanusoni UNIX for Dummies Questions & Answers 0 09-07-2007 12:29 AM
core dump hassan2 UNIX for Dummies Questions & Answers 4 05-07-2002 05:05 AM
help, what is the difference between core dump and panic dump? aileen UNIX for Dummies Questions & Answers 1 06-11-2001 05:08 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2001
sskb
Guest
 

Posts: n/a
Stumble this Post!
core dump

does any one have read a core dump?
is there any reader for that? or may i know what is the use of that core which takes sometimes memory in GBs?
Forum Sponsor
  #2 (permalink)  
Old 12-03-2001
doeboy's Avatar
Registered User
 

Join Date: Oct 2001
Location: Here
Posts: 137
Stumble this Post!
A core dump is basically an image of what was in memory at the time a program crashed. Depending on the program, it can be big or small, but usually in the case of a machine with lots of memory, the core files would generally be bigger. (This is probably why your cores are GB in size) You could use adb to read the core, but you would have to know what you are looking for specifically. (Most people don't need to bother looking at core files)
  #3 (permalink)  
Old 12-04-2001
sskb
Guest
 

Posts: n/a
Stumble this Post!
thanks doeboy, can i get that "adb" anywhere?
can you point me to a location, since I am in need to understand the info in the core.
thanks

  #4 (permalink)  
Old 12-04-2001
ghoti's Avatar
Registered User
 

Join Date: Jul 2001
Location: Wales
Posts: 55
Stumble this Post!
Is there any way to prevent core dumps from happening for a particular user only?

I get the odd core dump, but I don't have any reason to look at it.

However more of the users here need to be able to get at a core dump if it happens to them, is there any way I can prevent the computer saving core dumps for me alone?
Cheers!
__________________
regards,

-ghoti
  #5 (permalink)  
Old 12-04-2001
doeboy's Avatar
Registered User
 

Join Date: Oct 2001
Location: Here
Posts: 137
Stumble this Post!
The adb command is part of the UNIX install. It should be on the system already. Look at the adb(1) man pages for information.
Warning... iadb is not for the weak stomached...

As for limiting the size of a core dump, you can use "limit" or "ulimit" command to set the size limit on a core dump. Just place a line with"ulimit -c 0" or "limit coredumpsize 0" to your .profile or .cshrc script depending on what shell you use.
  #6 (permalink)  
Old 12-04-2001
sskb
Guest
 

Posts: n/a
Stumble this Post!
thanks doeboy, it makes a lot of sense to me.
i shall go through that.
cheers!
  #7 (permalink)  
Old 12-04-2001
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Stumble this Post!
Also, if you're just wondering what caused the core file, you can check file for info...

$ file core
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:34 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