当前位置:网站首页>Server pressure troubleshooting top

Server pressure troubleshooting top

2022-06-25 20:44:00 Chengshaoting

  1. top Find the process with the highest percentage

  2. Copy pid Execute on another terminal top -H -p pid

  3. Will consume the most cpu The thread of id Convert to 16 Binary output
    printf “%x \n” pid
    Will output one 16 Base string

  4. jstack pid | grep 16 Base string -A 30

  5. Throw it to development

原网站

版权声明
本文为[Chengshaoting]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202181341042962.html