Added possibility to display stats for LVM disks

This commit is contained in:
mount 2026-07-25 22:41:07 +02:00
parent 59d376ed5d
commit 58a7051d99

View File

@ -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) => {