Determine which processes are using swap in Linux

Some servers may have several applications, each running in their own allocated piece of RAM and SWAP.  It seems easy enough to use `top` to determine memory usage, but it wasn't so obvious (to me) as to how to determine swap usage.  A nifty little command called smem to the rescue.

So what is smem?  It is a "Report memory usage with shared memory divided proportionally."  This as defined by man smem.

Example:

yum install smem -y
smem -t -p

Source(s)

https://stackoverflow.com/questions/479953/how-to-find-out-which-processes-are-using-swap-space-in-linux

 

 

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *