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)