What will the per-process core file be named?

The core dump configuration for your system is:

A user is running a process in the global zone and the process crashes. The process information is:
User1 2663 2618 0 17:46:42 pts/2 0:00 /usr/bin/bash
The server host name is: zeus
What will the per-process core file be named?

The core dump configuration for your system is:

A user is running a process in the global zone and the process crashes. The process information is:
User1 2663 2618 0 17:46:42 pts/2 0:00 /usr/bin/bash
The server host name is: zeus
What will the per-process core file be named?

A.
core.bash.2663.global

B.
core.bash.2663.zeus

C.
/var/core/core.bash.2663

D.
/var/core/core.bash.2663.global

Explanation:
Note the first line:
global core file pattern: /globalcore/core.%f.%p
The program name is bash
The runtime process ID is 2663
Note: By default, the global core dump is disabled. You need to use the coreadm command with the -e
global option to enable it. The -g option causes the command to append the program name(%f) and the
runtime process ID (%p) to the core file name.



Leave a Reply 0

Your email address will not be published. Required fields are marked *