swapon
swapon功能说明:启动系统交换区(swap area)。
语 法:swapon [-ahsV][-p <优先顺序>][设备]
补充说明:Linux系统的内存管理必须使用交换区来建立虚拟内存。
-a 将/etc/fstab文件中所有设置为swap的设备,启动为交换区。
-h 显示帮助。
-p<优先顺序> 指定交换区的优先顺序。
-s 显示交换区的使用状况。
-V 显示版本信息。
swapon
swapon [options] devices
System administration command. Make the listed devices available for swapping and paging.
Options
Consult /etc/fstab for devices marked sw. Use those in place of the devices argument.
Used with -a. Don't complain about missing devices.
Print help message, then exit.
Specify a priority for the swap area. Higher priority areas will be used up before lower priority areas are used.
Print swap usage summaries, then exit.
Print version information, then exit.