Within the file, include the
core_on_error tunable. By default, when a core dump occurs, it is saved with the name
core or
core.<pid>, but you can change this by also including the
core_filename tunable.
For example:
set core_on_error=131
set core_filename="coredumptest.%p%t_%d"
Note: For a complete list of parameters for these run-time tunables, see the
core_on_error and
core_filename topics.