Skip to content

Instantly share code, notes, and snippets.

@PerseusArkouda
PerseusArkouda / README.md
Last active December 5, 2020 20:35 — forked from zouppen/README.md
Tool for extracting compression ratio and amount of compressed memory from zram swap partitions.

zraminfo

This is a simple tool for displaying memory information including compression ratio and percentage of compressed memory in Linux kernel using zram. This tool works without zram, but in that case it displays only basic memory statistics.

With LC_NUMERIC=en_GB.utf8 the output of ./zraminfo looks like this: