How to find out which processes are using swap space in Linux?

后端 未结 18 1996
终归单人心
终归单人心 2020-11-27 09:11

Under Linux, how do I find out which process is using the swap space more?

18条回答
  •  忘掉有多难
    2020-11-27 09:17

    iotop is a very useful tool. It gives live stats of I/O and swap usage per process/thread. By default it shows per thread but you can do iotop -P to get per process info. This is not available by default. You may have to install via rpm/apt.

提交回复
热议问题