cat /proc/sys/vm/swappiness

Category: VPS Management

cat /proc/sys/vm/swappiness

Show the kernel's swappiness setting — how aggressively it swaps memory to disk

Swappiness ranges from 0 (avoid swapping, prefer RAM) to 100 (swap aggressively). The default is 60. For VPS servers running apps that need fast response, lower values like 10 are recommended.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.