Home » Developer & Programmer » Precompilers, OCI & OCCI » command to read readable string in a core file
command to read readable string in a core file [message #94271] Sun, 27 June 2004 03:42 Go to next message
Santosh Anand
Messages: 10
Registered: April 2004
Junior Member
I want to read readable string in a core dump file named core which is generated during running a pro*C program on AIX based system. This file is generated after doing some output of the program and then displayed message about core(dump).

Please guide me how can i read this file to trace about error.

 

Regards,

Santosh
Re: command to read readable string in a core file [message #94273 is a reply to message #94271] Mon, 28 June 2004 20:43 Go to previous message
Jai Vrat Singh
Messages: 205
Registered: September 2002
Location: Singapore
Senior Member
use strings comand to read a core file.
$ strings core

This wil give you a list of ascii text in core file
You can pipe it to less to get a better view

$ strings core&#124less

and the serach the patther as you search in vi editor.

Cheers,
Jai Vrat
Previous Topic: weird No data found error in Pro*C code.
Next Topic: SQL select and C
Goto Forum:
  


Current Time: Thu Mar 28 16:01:27 CDT 2024