LoginSignup
2
5

More than 5 years have passed since last update.

Swap使用プロセスの確認

Last updated at Posted at 2018-09-26

こういうのはいくらでも書いている方がいますが、自分のための備忘録。

Swap使用プロセスを確認するコマンド
$ grep VmSwap /proc/*/status | sort -k 2 -nr | head | cut -d"/" -f3 | grep -e '^[0-9]*$' | xargs -I{} ps u -p{} --no-headers

swap使用プロセスTOP10を表示します。
お好みでheadの後ろに"-[表示したいプロセス数]"を入れて表示数を調整。

clamavのフルスキャンがswapバカ食いしてる上にスキャン時間かかりすぎ感があることが確認できました。
CPUも100%張り付きですわ…
もう知らんわ…

2
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
5