linux命令网

当前位置:linux命令 > linux常用命令

swapoff命令 – 关闭系统交换区

swapoff实际上为swapon的符号连接,可用来关闭系统的交换区

语法格式:swapoff [参数]

常用参数:

-a  将/etc/fstab文件中所有设置为swap的设备关闭
-h 帮助信息
-V 版本信息

参考实例

关闭交换分区:

[root@linuxmingling ~]# swapoff /dev/sda2

标签交换 关闭 系统 swapoff


相关linux命令
苏ICP备2022026517号-3  |   苏公网安备 32081202000317号
淮安先皓网络科技有限公司 © 版权所有  联系我们