linux program status

#用top命令指定固定的PID
top -p $pid

#通过pid查看状态
cat /proc/10997/status

  

原文地址:https://www.cnblogs.com/allenhaozi/p/9635685.html