|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
how i can read vmcore.x (x=0,1,...) file
how i can read vmcore.x (x=0,1,...) file
-------------------------------------------------------------------------------- how i can read vmcore.x (x=0,1,...) file in text format or any readable format. have any idea? I heard 'strings' command work on it, but in solaris when i tried -- it said such huge size not possible. Any help/idea will be cordially welcomed. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
I'm not a Solaris person, but there has to be a debugger that can read the kernel core. This explains system core dump management for both core types in Solaris: Code:
http://developers.sun.com/solaris/articles/manage_core_dump.html It looks like kmdb is what you need. But read the article first. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Quote:
Hello, well what do you exactly mean by reading the memory dump file (vmcore)? Actually, these files can be debugged using mdb (or kmdb) and adb (or kadb) utilities which are built in tools of Solaris. ![]() But if you want to just see the contents then either you can use strings command(which dint work in ur case), apart from this there is another CCS utility called "nm" which can help u to see the contents of unix.0 - /usr/ccs/bin/nm unix.0 x , but for vmcore.0 you need to use the mdb or adb debuggers to analyze or view the crash dump file.I use these on a daily basis, so if you encounter any problems, you can always revert to me. Last edited by renmaverick; 11-09-2008 at 01:33 AM.. |
|
#4
|
|||
|
|||
|
need to analyse vmcore.0
my system got panic and crashed, it generated vmunix.0 file. To analyse I am using mdb utility but I am not sure what is the correct was of using it. I am getting this
# mdb -k vmcore.0 mdb: vmcore.0 is not an ELF file Can some one help me how I can analyse vmcore.0 Thanks in advance......... |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
will appreciate if someone gives the exact syntax for using mdb
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| When reading a csv file, counter to read 20 lines and wait for minute then read next 20 till end | victor.s | UNIX for Dummies Questions & Answers | 3 | 11-09-2011 09:41 AM |
| I need to analyse some vmcore files | feg | Solaris | 2 | 05-27-2011 01:57 PM |
| bash: read file line by line (lines have '\0') - not full line has read??? | alex_5161 | Shell Programming and Scripting | 6 | 04-14-2010 04:58 AM |
| Cannot read a file with read(fd, buffer, buffersize) function | naranja18she | Programming | 3 | 06-12-2009 01:39 PM |
| use sunexplorer and vmcore analysis result instead of vmcore dump file itself. | mahadib | Solaris | 3 | 04-22-2008 04:38 AM |
|
|