The command smem can help showing memory usage, including the usage of swap.


Swap memory information

Articles and tools to troubleshoot Linux system performance issues with focus on swap memory and its usage.


Physical RAM is used to store information. Linux divides this RAM into smaller chunks, named memory pages. When there is no more normal memory available, the Linux kernel might need to temporarily store information aside. This is called paging or swap space. During the process of paging, memory pages will be moved from the RAM to the disk. This way memory is freed up for active processes, while older information is temporarily stored on the disk.