where will the core dump be saved?

The core dump configuration in your non global zone isA user is running a process in a non-global zone (testzone) and the process crashes. The process information
is:

user126632618017:46:42pts/20:00/usr/bin/bash
When the user’s process crashes in testzone, a non-global zone, where will the core dump be saved?

The core dump configuration in your non global zone isA user is running a process in a non-global zone (testzone) and the process crashes. The process information
is:

user126632618017:46:42pts/20:00/usr/bin/bash
When the user’s process crashes in testzone, a non-global zone, where will the core dump be saved?

A.
The file will be stored in the non-global zone’s directory: /var/core/pprocess/core.hash.2663.

B.
The file will be saved in the global zone’s directory: /var/core/core.bash.2663.

C.
A core file cannot be generated in a non-global zone because it shares the kernel with the global zone.

D.
The file will be stored in the global zone’s directory: /var/core/pprocess/core.bash.2663.

E.
The file will be saved in non-global zone’s directory: /var/core/core.bash.2663

Explanation:
The line
init core file pattern: /var/core/core.%f.%p
will be used for the non-global process to determine the destination of the dump file.
Note: When a process is dumping core, up to three core files can be produced: one in the per-process location,
one in the system-wide global location, and, if the process was running in a local (non-global) zone, one in the
global location for the zone in which that process was running.



Leave a Reply 1

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


Mahoni

Mahoni

Explanation and answer are not mismatch. I think the answer is B. Core file should be in global location