OSCHINA 社区最新讨论话题 |
Posted: 03 Jul 2021 02:41 AM PDT 1.ps -o nlwp PID 2.cat /proc/PID/status |grep -i thread 3.ll /proc/PID/task |wc -l (算出来数量减1,当前所在文件夹也会算进去) nlwp含义是number of light-weight process。 ps -o nlwp 27989 获得真正在running的线程数量 ps -eLo pid ,stat | grep 27989 | grep running | wc -l Sl表示大多数线程都处于空闲状态... |
You are subscribed to email updates from OSCHINA 社区最新讨论话题. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment