个人觉得最简单就是pstack。或者通过 cat /proc/pid/status .还有一个是ps hH p pid | wc -l
查询一个进程中有多少个线程
猜你喜欢
转载自blog.csdn.net/tiantao2012/article/details/80571803
今日推荐
周排行