ZRAMCTL(8) ZRAMCTL(8) zramctl - zram : zramctl [] zram: zramctl -r -zram... zram: zramctl -f zram: zramctl [-f | -zram] [-s ] [-t ] [-a ] zramctl zram, zram zram. , zram . Use --help to get an overview of the supported output columns and their descriptions. , -zram, , . zramctl /dev/zram, --find. ( ), /dev/zram . -a, --algorithm lzo|lz4|lz4hc|deflate|842|zstd , zram. The list of supported algorithms could be inaccurate as it depends on the current kernel configuration. A basic overview can be obtained by using the command "cat /sys/block/zram0/comp_algorithm"; however, please note that this list might also be incomplete. This is due to the fact that ZRAM utilizes the Crypto API, and if certain algorithms were built as modules, it becomes impossible to enumerate all of them. -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 . zram '; , . , . KiB (=1024), MiB (=1024*1024) GiB, TiB, PiB, EiB, ZiB YiB ( <> ', , <> , <>) 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 zram '. # zramctl --find --size 1024M /dev/zram0 # mkswap /dev/zram0 # swapon /dev/zram0 ... # swapoff /dev/zram0 # zramctl --reset /dev/zram0 Timofey Titovets , Karel Zak Linux zramctl util-linux, Linux . util-linux 2.42.3 2026-09-02 ZRAMCTL(8)