aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/perf/Perf.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules/perf/Perf.qml')
-rw-r--r--desktop/modules/perf/Perf.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/modules/perf/Perf.qml b/desktop/modules/perf/Perf.qml
index d165110..5fcf0ab 100644
--- a/desktop/modules/perf/Perf.qml
+++ b/desktop/modules/perf/Perf.qml
@@ -66,11 +66,12 @@ Singleton {
readonly property var ip: P.ipCheck(root.pub, root.now, Prefs.pinnedIp)
// The icon's dot. CPU load is left out: spikes would flicker it, and
- // sustained load shows up as heat.
+ // sustained load shows up as heat. NFS shares are too: a full file server
+ // is shown in the panel, not raised as this PC's trouble.
readonly property string severity: P.worst(
root.temps.map(t => P.band(t.value, t.warn, t.crit))
.concat([P.band(root.mem ? 100 * root.mem.used / root.mem.total : null, 85, 95)])
- .concat(root.disks.map(d => P.band(d.pct, 90, 95)))
+ .concat(root.disks.filter(d => !d.host).map(d => P.band(d.pct, 90, 95)))
.concat([root.ip.mismatch ? "crit" : "ok"]))
readonly property string pubipPath: