How to show ZRAM and regular swap separately in KDE System Monitor?

Hi,

In KDE System Monitor , ZRAM and the regular swap partition are both shown just as Swap.

Is there a way to display them separately (ZRAM and Swap as two different entries)?

I’m using Plasma 6.7.3 on CachyOS.

Thanks!

zram would show up as regular ram usage in the memory monitor.

unless zram has some usage data that could be accessed, there is no way to distinguish zram usage from any other program running in ram.

  1. zram is not “regular ram usage”, it is block device capable of housing swap backed by ram; 2. it is very much possible to distinguish it seeing as its swap devices are titled zramn, not anything generic

You are describing a filesystem detail implementation, that would require some hoops, to distinguish the two, in an otherwise purely memory/process measurement.

That should be possible to implement, having a “zram sensor”.