Linux 磁盘管理篇(五 内存交换空间)

版权声明: https://blog.csdn.net/ITlanyue/article/details/81904925

swap是在系统内存不足的情况下,以硬盘暂时来储存内存中的一些数据来继续程序的执行

查看内存使用情况            free
格式化为swap格式            mkswap
启动swap设备                swapon
新建一个大文件                dd
关掉swap设备                swapoff

猜你喜欢

转载自blog.csdn.net/ITlanyue/article/details/81904925