'|' 是什么意思文件 /proc/sys/kernel/core_pattern 中的意思?
What does '|' mean in file /proc/sys/kernel/core_pattern?
$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport %p %s %c %d %P
“|”是什么意思文件中的意思是 /proc/sys/kernel/core_pattern
?
在 linux 内核文档中 /usr/src/linux/Documentation/sysctl/kernel.txt。
[/proc/sys/kernel/]core_pattern is used to specify a core dumpfile pattern name.
- If the first character of the pattern is a '|', the kernel will treat the rest of the pattern as a command to run. The core dump will be written to the standard input of that program instead of to a file.
$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport %p %s %c %d %P
“|”是什么意思文件中的意思是 /proc/sys/kernel/core_pattern
?
在 linux 内核文档中 /usr/src/linux/Documentation/sysctl/kernel.txt。
[/proc/sys/kernel/]core_pattern is used to specify a core dumpfile pattern name.
- If the first character of the pattern is a '|', the kernel will treat the rest of the pattern as a command to run. The core dump will be written to the standard input of that program instead of to a file.