Investigation and on-line project CPU abnormal surge

Troubleshoot high CPU utilization:
No. Command Function
1 top Sort cpu footprint.
2 Top -Hp pid; according to [1] in pid, query CPU usage of each thread in this process.
3 jstack pid; see this process [1] . the pid, the status of the stack
4 printf "% x \ n" pid; the pid [2 cpu highest in pid] converted into a hexadecimal number.
the 16 hexadecimal to find the same pid [NID].

Guess you like

Origin blog.csdn.net/weixin_38608626/article/details/90674243