Open liweijian opened 8 years ago
We can get the threads list by command ps M <pid>, and get the number of thread by NUM=ps M | wc -l | xargs && expr $NUM - 1.
ps M <pid>
NUM=
&& expr $NUM - 1
I was wondering if maybe syrupy could list the number of threads in its result?
Bump
We can get the threads list by command | wc -l | xargs
ps M <pid>
, and get the number of thread byNUM=
ps M&& expr $NUM - 1
.I was wondering if maybe syrupy could list the number of threads in its result?