Swap

From Halfface
Revision as of 14:38, 29 August 2019 by Ekaanbj (talk | contribs) (Created page with "=How to handle swappiness= Start top and press O then p to sort by swap. top -c Look at what is using swap. si and so is swap in and swap out. vmstat 1 To return swap to ram...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to handle swappiness

Start top and press O then p to sort by swap.

top -c

Look at what is using swap. si and so is swap in and swap out.

vmstat 1

To return swap to ram.

swapoff -a; swapon -a