1. Check if the “fullcore” flag is on:
# lsattr -E -l sys0 -a fullcore
# chdev -l sys0 -a fullcore=true

2. Generate a coredump of the hung process:
#gencore
#gencore 1 /export/core

3. collect the core, associated binary and relevant libraries to help debug the core. In the example below, the core file location and associated binary are used as arguments:

# snapcore /export/core
#cd /tmp/snapcore
#ls –al snapcore.*.pax.Z

Advertisements