查詢一個進程中有多少個線程

我的以爲最簡單就是pstack。或者經過 cat  /proc/pid/status .還有一個是ps hH p pid | wc -lblog
相關文章
相關標籤/搜索