System Administration Guide: Advanced Administration

ProcedureHow to Set a Core File Name Pattern

  1. Determine whether you want to set a per-process or global core file and select one of the following:

    1. Set a per-process file name pattern.

      $ coreadm -p $HOME/corefiles/%f.%p $$
    2. 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.

    3. Set a global file name pattern.

      # coreadm -g /var/corefiles/%f.%p