[pve-devel] [RFC PATCH pve-manager 3/3] ui: node memory RRD: add 'Available' graph
Dominik Csapak
d.csapak at proxmox.com
Mon Aug 4 13:28:42 CEST 2025
so one can see how much is available as an explicit graph.
The color is the same as the total, as most other colors produce weird
looking result since the graphs are transparent and overlay each other.
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
not a huge fan of this, since it always runs reverse to the 'used'
metric, and the additional semi-transparent graph makes the colors
different to before.
We could also just do this and not the tooltip one, if that's preferred.
Write me if that's the case, then i'll whip up a v2
www/manager6/node/Summary.js | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/www/manager6/node/Summary.js b/www/manager6/node/Summary.js
index e51e8ba0..343d4189 100644
--- a/www/manager6/node/Summary.js
+++ b/www/manager6/node/Summary.js
@@ -206,6 +206,7 @@ Ext.define('PVE.node.Summary', {
},
},
},
+ 'memavailable',
{
yField: 'memused',
title: gettext('Used'),
@@ -236,8 +237,13 @@ Ext.define('PVE.node.Summary', {
},
'arcsize',
],
- fieldTitles: [gettext('Total'), gettext('Used'), gettext('ZFS ARC')],
- colors: ['#94ae0a', '#115fa6', '#7c7474'],
+ fieldTitles: [
+ gettext('Total'),
+ gettext('Available'),
+ gettext('Used'),
+ gettext('ZFS ARC'),
+ ],
+ colors: ['#94ae0a', '#94ae0a', '#115fa6', '#7c7474'],
unit: 'bytes',
powerOfTwo: true,
store: rrdstore,
--
2.39.5
More information about the pve-devel
mailing list