To delete additional swap, you can use the corresponding swapoff or swap -d command to disable the swap partition.
若要删除额外的交换空间,您可以使用对应的swapoff或swap - d命令来禁用该交换分区。
swapon (and its sister swapoff) is used to start swap on files/devices, and display status of currently used swap areas.
swapon(它的同类swapoff)用于开启文件系统/设备上的交换分区,显示目前使用交换区的状态。
应用推荐