[pve-devel] [PATCH pve-container 1/1] vmstatus: add pressure stats
Alexandre Derumier
aderumier at odiso.com
Wed May 25 08:52:16 CEST 2022
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
src/PVE/LXC.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index fe63087..af47ff9 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -299,6 +299,8 @@ sub vmstatus {
} else {
$d->{cpu} = 0;
}
+
+ $d->{pressure} = $cgroups->get_pressure_stat();
}
my $netdev = PVE::ProcFSTools::read_proc_net_dev();
--
2.30.2
More information about the pve-devel
mailing list