一、进程查询:

  ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid'

  说明:PCPU是Cpu使用率,8核最多是800。 

  Linux中进程与线程及CPU使用率查询

  或者

  ps -aux

  Linux中进程与线程及CPU使用率查询

 

二、线程查询:

  cat /proc/13284/status

  说明:13284是进程ID。

  Linux中进程与线程及CPU使用率查询

 

相关文章:

  • 2021-08-06
  • 2021-06-07
  • 2021-05-25
  • 2021-12-16
  • 2022-12-23
  • 2021-07-02
  • 2021-11-23
猜你喜欢
  • 2021-09-14
  • 2021-11-23
  • 2021-12-15
  • 2021-12-15
  • 2021-05-28
相关资源
相似解决方案