微智科技网
您的当前位置:首页linux get current thread count and system threads limit

linux get current thread count and system threads limit

来源:微智科技网

get current thread count

grep -s '^Threads' /proc/[0-9]*/status | awk '{ sum += $2; } END { print sum; }'

get the system thread limit

cat /proc/sys/kernel/threads-max

转载于:https://www.cnblogs.com/long123king/p/3755144.html

因篇幅问题不能全部显示,请点此查看更多更全内容