Section G.8. Swap Management


G.8. Swap Management

Table G-9 shows differences in Linux and Solaris swap management and configuration tasks.

Table G-9. [*] Swap Tasks

Task

Solaris

Linux

Create a swap space

swap -a

mkswap

Enable a swap space

swap -a

swapon

Enable all swap spaces

N/A

swapon -a

Disable a swap space

N/A

swapoff

Disable all swap spaces

N/A

swapoff -a

Delete a swap space

swap -d

N/A

Display the swap space usage

swap -s

swapon -s

Display the swap space status

swap -l

N/A

Set the swap priority level

N/A

swapon -p


[*] Table A-16 of IBM Redbook




UNIX to Linux Porting. A Comprehensive Reference
UNIX to Linux Porting: A Comprehensive Reference
ISBN: 0131871099
EAN: 2147483647
Year: 2004
Pages: 175

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net