swapoff 功能说明:关闭交换分区

如果需要回收磁盘资源,则可以使用swapoff关闭交换分区释放磁盘空间。
 
参数选项:
-a    关闭所有交换分区

[root@cs6 ~]# swapoff -a
[root@cs6 ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          1989        174       1815          0          6         41
-/+ buffers/cache:        127       1862
Swap:            0          0          0 



 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-06-22
  • 2021-11-04
  • 2021-07-11
  • 2021-11-19
相关资源
相似解决方案