System Administration Guide: Advanced Administration

ProcedureHow to Enable a Global Core File Path

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Enable a global core file path.

    # coreadm -e global -g /var/core/core.%f.%p
  3. Display the current process core file path to verify the configuration.

    # 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