Troubleshooting System Administration Issues in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Enabling File Paths

You can enable a per-process or global core file path.

  • To enable a per-process core file path, assume the root role and issue the following command:

    # coreadm -e process

    If you want to verify the configuration, display the current process core file path:

    # coreadm $$
    1180:   /home/kryten/corefiles/%f.%p
  • To enable a global core file path, assume the root role and issue the following command:

    # coreadm -e global -g /var/core/core.%f.%p

    If you wnt to verify the configuration, display the current process core file path:

    # coreadm
           global core file pattern: /var/core/core.%f.%p
         global core file content: default
           init core file pattern: core
           init core file content: default
                global core dumps: enabled
           per-process core dumps: enabled
          global setid core dumps: disabled
     per-process setid core dumps: disabled
         global core dump logging: disabled