《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.