That seems a reasonable thing to want to do.
> ...
> The following format options are available in that string:
>
> %P The Process ID (current->pid)
> %U The UID of the process (current->uid)
> %N The command name of the process (current->comm)
> %H The nodename of the system (system_utsname.nodename)
> %% A "%"
>
> For example, in my clusters, I have an NFS R/W mount at /coredumps
> that all nodes have access to. The format string I use is:
>
> sysctl -w "kernel.core_name_format=/coredumps/%H-%N-%P.core"
>
Does it need to be this fancy? Why not just have:
if (core_name_format is unset)
use "core"
else
use core_name_format/nodename-uid-pid-comm.core
which saves all that string format processing, while giving
people everything they could want?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/