linux swap关闭

Last updated on March 28, 2025 am

🧙 Questions

☄️ Ideas

查看swap

free -g
BASH

临时关闭swap

释放swap的时间比较久

swapoff -a
BASH

永久关闭swap

重启服务生效

vim /etc/fstab

# 注释掉
# /dev/xxxxxx     swap
BASH

linux swap关闭
https://ispong.isxcode.com/os/linux/linux swap关闭/
Author
ispong
Posted on
June 28, 2024
Licensed under