3-Mar-2019

Swap space, it's needed at times and can be a real pain at others. It is a necessary evil that has to be put up with however. I've recently had to monitor how much swap space various processes have been using on a Linux system and found thatwas the best and quickest option for doing so.By default however,does not show swap space details...That's easily remedied by pressing the 'F' (capital f) key followed by 'p' and then enter.This tells top to sort processes using the swap space column and at the same time this also displays the swap space usage. Neat!Of course top will not keep those settings, but by pressing the 'W' (capital w) key it will write a settings file toso the next time you open top, it will have its output sorted by swap space.By deleting theall of the original settings will be restored.-i