who occupies the swap ?

sd tech sdtc at sonicboom.org
Wed Dec 1 17:18:17 UTC 2021


I see a few ways to get this info. using smem is one way. 
https://www.cyberciti.biz/faq/linux-which-process-is-using-swap/ has a 
few useful examples on it.

Brian

On 12/1/2021 9:09 AM, Lentes, Bernd wrote:
> Hi,
>
> we have one host with 20.04 which sometimes ran out of swap space.
> Is there a way to find out who occupies the swap ? In atop the logs show the swapsize for each process, but the sum of all swapsizes
> is much smaller than the complete used swap.
> And what happens if processes end ? Is the respective swap space cleaned up ?
>
> Thanks.
>
> Bernd
>
>




More information about the ubuntu-users mailing list