[pve-devel] [PATCH v2 manager 1/2] fix #1454: node/status: return arc size

Matthias Heiserer m.heiserer at proxmox.com
Tue Mar 28 14:49:27 CEST 2023


Signed-off-by: Matthias Heiserer <m.heiserer at proxmox.com>
---

Changes from v1:
No Changes

 PVE/API2/Nodes.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
index bfe5c40a..0795f06d 100644
--- a/PVE/API2/Nodes.pm
+++ b/PVE/API2/Nodes.pm
@@ -389,6 +389,7 @@ __PACKAGE__->register_method({
 	    free => $meminfo->{memfree},
 	    total => $meminfo->{memtotal},
 	    used => $meminfo->{memused},
+	    arcsize => $meminfo->{arcsize},
 	};
 
 	$res->{ksm} = {
-- 
2.30.2






More information about the pve-devel mailing list