Can i use dtrace to anlayze my core files ? -- This message posted from opensolaris.org
Lenin writes:> Can i use dtrace to anlayze my core files ?No. The ''d'' means "dynamic." Core files are anything but "dynamic." Dtrace provides a way to insert probe points dynamically into a running system, so that you can see what the system is doing. It looks at actions and threads. That''s not the same thing as examining a memory image. Use mdb or dbx or gdb to analyze core files. -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
Unless you''re talking about kernel crash dumps. But you have to have been running DTrace at the time of the crash. There is something called Postmortem Tracing. You can find information about it in the DTrace Guide. Also, I included some info about it in one of my articles, at http://www.laurustech.com/tech_paper.asp?ID=104 Chip James Carlson wrote:> Lenin writes: > >> Can i use dtrace to anlayze my core files ? >> > > No. The ''d'' means "dynamic." Core files are anything but "dynamic." > > Dtrace provides a way to insert probe points dynamically into a > running system, so that you can see what the system is doing. It > looks at actions and threads. That''s not the same thing as examining > a memory image. > > Use mdb or dbx or gdb to analyze core files. > >
Chip Bennett writes:> Unless you''re talking about kernel crash dumps. But you have to have > been running DTrace at the time of the crash. There is something called > Postmortem Tracing. You can find information about it in the DTrace > Guide. Also, I included some info about it in one of my articles, at > http://www.laurustech.com/tech_paper.asp?ID=104Post-mortem use of dtrace-gathered data still involves examining the dump using another tool -- such as mdb -- that''s designed for analysis of memory images rather than instrumenting system behavior. See chapter 37 in the dtrace guide. -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
MDB is the right tool for that job. Adam On Tue, Aug 21, 2007 at 02:32:59AM -0700, Lenin wrote:> Can i use dtrace to anlayze my core files ? > > > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl