SUMMARY Looking in /master/ksysguardd/Linux/diskstat.c it appears that zfs pools are excluded because they don't start with a "/" in /etc/mtab and they aren't specifically included in the updateDiskStat method. STEPS TO REPRODUCE 1. create zfs pool and mount it 2. fire up ksysguard and try to find it in widgets / sensors OBSERVED RESULT The zfs partition isn't available in stats EXPECTED RESULT The zfs pools should be available SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon latest version ADDITIONAL INFORMATION I'm not sure if there are other places other than this file that zfs would have to be added to.
I would recommend pulling in a libmount (part of util-linux) dependency for doing this. Both ksysguardd and libmount are GPL-2 licensed. util-linux and libmount are fairly ubiquitous. Parsing the /etc/mtab file on linux can be tricky because of some unexpected allowed file names (like those containing '\r'), and it even reports which file systems are network file systems, pseudo-filesystems, swap, or special kernel filesystems by translating the f_type field that we don't currently do. I'm attaching a short example of how this can be done. If the dev's are OK with adding a libmount dependency, I can write up a patch for ksysguardd. I'm a new to KDE, so I'll need some help with the process.
Created attachment 137183 [details] libmount example
*** Bug 449123 has been marked as a duplicate of this bug. ***
ksysguard is no longer maintained, in Plasma 6 there is the Plasma system monitor for this task. If your issue still happens with the Plasma 6 replacement, please re-open and we can move this bug to the new product, thanks!