要在Ubuntu中激活或禁用zram,您可以按照以下步骤进行操作:
ls /dev/zram*
sudo apt update
sudo apt install zram-config
sudo systemctl enable zram-config
sudo systemctl start zram-config
ls /dev/zram*
sudo systemctl stop zram-config
sudo systemctl disable zram-config
通过以上步骤,您可以在Ubuntu中激活或禁用zram。希望对您有帮助!
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
相关推荐:Ubuntu Minimal内存占用优化