您的位置:首页 > 运维架构 > Linux

linux get current thread count and system threads limit

2014-05-27 15:02 465 查看
get current thread count

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

[/code]

get the system thread limit

cat /proc/sys/kernel/threads-max

[/code]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐