# 查系统支持的最大进程数,一般会很大,相当于理论值cat /proc/sys/kernel/pid_max# 线程数cat /proc/sys/kernel/thread-max# 进程信息cat /proc/${pid}/status