Read Core Dump file

Hi all

It's possible to configure router to send "Core Dump File" to FTP Server when router crash. Well.

How it's possible to read "Core Dump File" ?

Thank You very much

Best Regards NS

Reply to
ns
Loading thread data ...

You can always try:

exception core-file FILENAME_HERE exception protocol ftp exception dump IP_ADDR_HERE

formatting link
for more info.

Reply to
Hansang Bae

Hi all,

Thank You Hansang for your answer.

I have the core dump file. I juste need to know how can read it !? The core dump file is binnary format. What's tool can i use to read it or convert it in text format ?

Thank You very much NS

"Hansang Bae" a écrit dans le message de news:yTwke.14335$ snipped-for-privacy@twister.nyc.rr.com...

Reply to
ns

~ Hi all, ~ ~ Thank You Hansang for your answer. ~ ~ I have the core dump file. I juste need to know how can read it !? ~ The core dump file is binnary format. What's tool can i use to read it or ~ convert it in text format ?

od ?

Aaron

Reply to
Aaron Leonard

No idea if there is readable info in there. But if you wanted to extract the ASCII out of it, I guess you can use any Unix tools available or use a decent editor like vi/vim or UltraEdit-32.

Reply to
Hansang Bae

Hi all,

VI seem not able to read this file... I can open file with UtraEdit but data are in binary format. i use the command "od" under Unix and i have a big output file with part of this :

0000000 110140 000240 076150 001246 110140 000250 110200 000244 0000020 076172 001246 110140 000254 076173 001246 110140 000260 0000040 044000 000005 076200 000246 050144 003266 076233 001646 0000060 076210 001246 034144 177734 100203 000360 076232 001646 0000100 046000 000144 036200 100351 034204 021230 110004 000010 0000120 110044 000014 110104 000020 036040 100351 034041 032474 0000140 076260 041646 036240 100315 100245 165024 110144 000000 0000160 076177 041246 052143 102076 110144 000004 076140 000046 0000200 110144 000220 076141 001246 110144 000234 100145 000250 0000220 110144 000224 076151 001246 110144 000230 100145 000254 0000240 000000 000001 064426 173520 100073 133344 100073 137124 0000260 000000 110062 135335 126735 135335 126735 135335 126735 0000300 135335 126735 135335 126735 135335 126735 135335 126735 * 0000360 100073 064644 135335 126735 135335 126735 135335 126735 0000400 110140 000240 076150 001246 110140 000250 110200 000244 0000420 076172 001246 110140 000254 076173 001246 110140 000260 0000440 044000 000005 076200 000246 050144 003266 076233 001646 0000460 076210 001246 034144 177734 100203 000360 076232 001646 0000500 046000 000144 036200 100351 034204 021230 110004 000010 0000520 110044 000014 110104 000020 036040 100351 034041 032474 0000540 076260 041646 036240 100315 100245 165024 110144 000000

What can i do with this output ?

Thanks a lot NS

"Hansang Bae" a écrit dans le message de news:IGPke.135$ snipped-for-privacy@twister.nyc.rr.com...

Reply to
ns

[...]

HSB means to use "strings" on it first and possibly pipe it through "sort" and "uniq".

B
Reply to
Bob Goddard

Yes !!!!!

I can read the core file with command strings !! great !!

But now, am hesitate to apply configuration to export core dump to ftp server.

Does someone enable exporting core dump file to FTP server and what is your experiences ?

ThankYou very much NS

"Bob Goddard" a écrit dans le message de news: snipped-for-privacy@>

Reply to
ns

Sorry, I should have been more clear when I said use "any Unix tools" I prefaced it with "if you want to read ascii" and I assumed you would know what I meant. But I digress.

Typically, it doesn't buy you much. I can think of one or two times where we sent the dump file to Cisco, but that's pretty much it.

Reply to
Hansang Bae

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.