ZRAMCTL(8) zramctl - ,,zram" : zramctl [] ,,zram": zramctl -r zramdev... : zramctl -f : zramctl [-f | -] [-s ] [-t ] [-a ] zramctl ,,zram" , ,,zram" , ,,zram" . , - . Use --help to get an overview of the supported output columns and their descriptions. zramdev . zramctl /dev/zram --find . ( ) /dev/zram . -a, --algorithm lzo|lz4|lz4hc|deflate|842|zstd . . ,,cat /sys/block/zram0/comp_algorithm"; , . ZRAM Crypto API, , . -b, --bytes Print sizes in bytes, not in human-readable format. -f, --find ,,zram" . --size , . -n, --noheadings . -o, --output . , . --help . + (., zramctl -o+COMP-RATIO). --output-all . -p, --algorithm-params parameter... Specify the parameters for the selected compression algorithm. For example, level=9 dict=/etc/dictionary sets the compression level and pre-trained dictionary. Parameters are algorithm-specific. -r, --reset zramdev... Reset the specified zram device(s). The settings of a zram device can be changed only after a reset. --raw . -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 . 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[ ] , ,,https://github.com/util-linux/util-linux/issues[issue tracker]". zramctl ,,util-linux" . util-linux 2.42.3 2026-09-02 ZRAMCTL(8)