ZRAMCTL(8) zramctl - ,,zram" : zramctl [] ,,zram": zramctl -r zramdev... : zramctl -f : zramctl [-f | -] [-s ] [-t ] [-a ] zramctl ,,zram" , ,,zram" , ,,zram" . , - . zramdev . zramctl /dev/zram --find . ( ) /dev/zram . -a, --algorithm lzo|lz4|lz4hc|deflate|842|zstd . . ,,cat /sys/block/zram0/comp_algorithm"; , . ZRAM Crypto API, , . -f, --find ,,zram" . --size , . -n, --noheadings . -o, --output . , . --help . The default list of columns may be extended if list is specified in the format +list (e.g., zramctl -o+COMP-RATIO). -p, --algorithm-params Set the algorithm parameters, for example, level=9 dict=/etc/dictionary to set compression level and pre-trained dictionary. Parameters are algorithm specific. --output-all . --raw . -r, --reset ,,zram" . ,,zram" . -s, --size ,,zram" . ; , . , . KiB=1024, MiB=1024*1024, GiB, TiB, PiB, EiB, ZiB YiB (,,iB" , ., ,,K" ,,KiB") KB=1000, MB=1000*1000, GB, TB, PB, EB, ZB YB. -t, --streams . 4.6. -h, --help . -V, --version Display version and exit. zramctl 0 , . /dev/zram[0..N] ,,zram" . # zramctl --find --size 1024M /dev/zram0 # mkswap /dev/zram0 # swapon /dev/zram0 ... # swapoff /dev/zram0 # zramctl --reset /dev/zram0 Timofey Titovets , Karel Zak :https://docs.kernel.org/admin-guide/blockdev/zram.html[ ] For bug reports, use the issue tracker . zramctl ,,util-linux" . util-linux 2.41 2025-03-29 ZRAMCTL(8)