Skip Navigation Links | |
Exit Print View | |
Troubleshooting Typical Issues in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library |
1. Managing System Crash Information (Tasks)
2. Managing Core Files (Tasks)
Setting the Core File Name Pattern
Enabling setuid Programs to Produce Core Files
Managing Core Files (Task Map)
Displaying the Current Core Dump Configuration
How to Set a Core File Name Pattern
How to Enable a Per-Process Core File Path
How to Enable a Global Core File Path
Troubleshooting Core File Problems
3. Troubleshooting System and Software Problems (Tasks)
4. Troubleshooting Miscellaneous System and Software Problems (Tasks)
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.
The /usr/proc/bin/pstack, pmap, pldd, pflags, and pcred tools can be applied 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 proc tools to examine core files, see proc(1).
Example 2-1 Examining Core Files With proc Tools
$ ./a.out Segmentation Fault(coredump) $ /usr/proc/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) + b8