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: