ReetiJ
asked on
how to read a core file in unix. (the file name is "core")
How to read a core file in unix. It is not having any extension and it is not readbale.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Doing
file core
will tell you which process dumped core.
In Solaris, you can analyse a core file with
dbx
mdb
pstack
You won't have gdb on your system, unless you've installed the GNU debugger.
file core
will tell you which process dumped core.
In Solaris, you can analyse a core file with
dbx
mdb
pstack
You won't have gdb on your system, unless you've installed the GNU debugger.
ASKER
thanks. I am unable to use gdb. Is there any useful tip on how to use mdb ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To get a quick glance at the file use:
#>strings core | more
#>strings core | more
ASKER
deleting question
ASKER
delete
Canceling account is not a valid reason for self accept. What was the solution you reached?
e.g.
gdb corefile executablefile