首页
/
每日頭條
/
遊戲
/
csgo服務器負載過高
csgo服務器負載過高
更新时间:2024-08-01 11:12:48

  1、使用【top】命令定位異常進程,可發現12836的CPU和内存占用率都非常高,備注: top 命令默認情況下,是每 3 秒刷新一次。也可以通過 top -d 來指定刷新頻率,如top -d 0.1 或top -d 0.01 等。top 執行時,也可以按“s ”鍵,修改時間間隔。

  2、使用【top -H -p 進程号】查看異常線程。

  3、使用【printf %xn 線程号】将異常線程号轉化為16進制

  4、使用【jstack 進程号|grep 16進制異常線程号 -A90】來定位異常代碼的位置(最後的-A90是日志行數,也可以輸出為文本文件或使用其他數字)。可以看到異常代碼的位置。

Comments
Welcome to tft每日頭條 comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Copyright 2023-2024 - www.tftnews.com All Rights Reserved