The swapon command

enable/disable devices and files for paging and swapping 1 example from the lessons of the IVski Linux Playground — try them in the terminal next to them.

Options in the examples

--show[=column...]
Display a definable table of swap areas.

Examples

swapon --show

Show swap usage

Lessons that use swapon