Check the threads in a process on Linux

# show threads for a process
$ ps -p 4575 -L -o pid,tid,psr,pcpu
  PID   TID PSR %CPU
29492 29492   1  0.0
29492 29493   1 48.7
29492 29494   1 51.9

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注