Control the swap device
 |
You must be root to run this utility. |
swapctl [-s] [-m] [-c] [-F size] [-S size]
[-a name]
- -a name
- Add the file or partition specified by name as the swap device.
- -c
- Create the file if it doesn't exist.
- -F size
- The minimum size that must be left on the filesystem after the file is
created.
- -m
- Add a magic signature to an existing file or partition.
- -S size
- The size of file to create (the default is 64M).
- -s
- Display statistics about the swap device.
The swapctl utility controls the swap device.
If you don't specify any options, swapctl displays swap statistics.
 |
Swapping is not fully implemented. |
Display swap statistics:
# swapctl
Swap stats:
swap space size: 134213632
swap space in use: 0
number of pages swapped out: -1
number of pages swapped in: 0
number of pages deleted from swap: 0