The proc tools enable you to examine process core files as well as live processes. The proc tools are utilities that can manipulate features of the /proc file system.
You can apply /usr/bin/pstack, pmap, pldd, pflags, and pcred tools to core files by specifying the name of the core file on the command line, similar to the way you specify a process ID to these commands.
For more information about using the proc tools to examine core files, see the proc(1) man page.
Example 5 Examining Core Files With the proc Tools$ ./a.out Segmentation Fault(coredump) $ /usr/bin/pstack ./core core './core' of 19305: ./a.out 000108c4 main (1, ffbef5cc, ffbef5d4, 20800, 0, 0) + 1c 00010880 _start (0, 0, 0, 0, 0, 0) + b8Example 6 Using the pstack Command to Examine a Core File From a Program Built With DWARF
$ ./a.out Segmentation Fault (core dumped) $ /usr/bin/pstack core core 'core' of 138955: ./a.out 08050a36 main (1, feffebec, feffebf4) + 6 (broken.c:4) 080508b2 _start (1, feffecbe, 0, feffecc6, feffecd1, feffece1) + 72