📜  使用交换后端 VM_PAGER_COMPRESSOR_WITH_SWAP 在核心压缩器中验证 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:08.655000             🧑  作者: Mango

代码示例1
echo abc `#open terminal and type in:` \
     def `#to check VM_PAGER_COMPRESSOR is being used for swap memory. ` \
     ghi `#terminal should return vm.compressor_mode:4. dont type it in.` \
sysctl -a vm.compressor_mode
vm.compressor_mode: 4