Totalview® for HPC Reference Guide
:
PART IV Platforms and Operating Systems
:
Chapter 10 Operating Systems
:
Swap Space
:
Swap Space on Linux
Swap Space on Linux
To find out how much swap space has been allocated and is currently being used, use either the
swapon
or
top
commands on Linux:
You can use the
mkswap
(8) command to create swap space. The
swapon
(8) command tells Linux that it should use this space.