《Linux® Debugging and Performance Tuning: Tips and Techniques》 chapter 5
/proc目录:
Process-Specific SubdirectoriesEach process subdirectory has the following entries:
|
例如:
查看core文件的pattern,
/home/a/j/nomad2:cat /proc/sys/kernel/core_pattern core
查看系统最大线程数,
/home/a/j/nomad2:pwd /proc/sys/kernel /home/a/j/nomad2:cat threads-max 139264
/proc下的系统参数是可以更改的:
Some of the /proc file system parameters can be tuned. If tuning has been done on a running kernel, make sure that each file that was tuned has the new parameter set by adding it to the distribution /etc/sysctl.conf file.
本文详细解读Linux系统中/proc目录下的各个子目录及其用途,包括如何查看核心文件模式、系统最大线程数等关键信息,并阐述了如何在运行内核上调整/proc文件系统的参数。

被折叠的 条评论
为什么被折叠?



