How to find out which processes are using swap space in Linux?
问题 Under Linux, how do I find out which process is using the swap space more? 回答1: Run top then press O p Enter . Now processes should be sorted by their swap usage. Here is an update as my original answer does not provide an exact answer to the problem as pointed out in the comments. From the htop FAQ: It is not possible to get the exact size of used swap space of a process. Top fakes this information by making SWAP = VIRT - RES, but that is not a good metric, because other stuff such as video