进程 | 查询进程中包含多少线程

查询进程中包含多少线程

命令:pstree -p PID | wc -l
结果:直接返回线程数量。

posted @ 2020-12-07 20:30  CristL  阅读(156)  评论(0)    收藏  举报