查看線程的數量
查看指定進程的線程的數量
指令: ps -eLf | grep echo |more
[jack@gm_247 ~]$ ps -eLf|grep echo|more
sislcb 24779 23211 24779 0 4 12:20 pts/1 00:00:00 python echoserver.py
sislcb 24779 23211 25679 0 4 14:28 pts/1 00:00:00 python echoserver.py
sislcb 24779 23211 25691 0 4 14:29 pts/1 00:00:00 python echoserver.py
sislcb 24779 23211 25795 0 4 14:35 pts/1 00:00:00 python echoserver.py
echoserver.py 進程裡運行了四個線程