Hello all,
I know I can use the /proc/sys/kernel/core_pattern and /proc/sys/kernel/core_uses_pid files to
control core filenaming for *all* core files on a system, but is there a way for a particular
process to have control of its own core file names? The down side to the current way Linux does this now
is that *all* processes are affected, requiring someone with root/sudo access (or someone with
said privs to chmod these files) to change the behavior. It would be nice for a process/programmer
to have finer grain control (subject to override by /proc/sys/kernel/core*) on the names of the
core files.
Tru64's has this, as 'enhanced core file naming', where a process can decide at runtime how a
file will be named (still being written to the CWD if space/permissions allow).
I'd found this feature to be quite useful several years ago on a Tru64 cluster, where I had
multiple instances of the same executable running across the cluster. It was very nice
to be able to turn on and off the enhanced naming ( core.program_name.host_name.numeric_tag)
as I needed to, without requiring everyone *else* to use the same naming conventions.
Thanks...
Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]