From 58a7051d992f98b4eb2345c483e047e2a07c90ea Mon Sep 17 00:00:00 2001 From: Andreas Fruhwirt Date: Sat, 25 Jul 2026 22:41:07 +0200 Subject: [PATCH] Added possibility to display stats for LVM disks --- files/system-monitor-graph@mount/desklet.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/system-monitor-graph@mount/desklet.js b/files/system-monitor-graph@mount/desklet.js index 00d6170..5aa9dee 100644 --- a/files/system-monitor-graph@mount/desklet.js +++ b/files/system-monitor-graph@mount/desklet.js @@ -863,6 +863,11 @@ SystemMonitorGraph.prototype = { // get IO utilization of partition let dev_fs = df_values[0]; let fs = dev_fs.split(/\/+/)[2]; + try { + fs = GLib.file_read_link(dev_fs).split(/\/+/)[1]; + } + catch (e) { + } let re = new RegExp(fs + '.+'); // https://stackoverflow.com/questions/4458183/how-the-util-of-iostat-is-computed this.cpu_file.load_contents_async(null, (file, response) => {