all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] SPAM: [PATCH v2 pve-container 0/1] vmstatus: add pressure stats
@ 2021-02-17 17:08 Alexandre Derumier
  2021-02-17 17:08 ` [pve-devel] SPAM: [PATCH v2 pve-container 1/1] " Alexandre Derumier
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Derumier @ 2021-02-17 17:08 UTC (permalink / raw)
  To: pve-devel

changelog v2:

- rebase on last master
- use new pressure code from pve-common

Alexandre Derumier (1):
  vmstatus: add pressure stats

 src/PVE/LXC.pm | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.20.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] SPAM: [PATCH v2 pve-container 1/1] vmstatus: add pressure stats
  2021-02-17 17:08 [pve-devel] SPAM: [PATCH v2 pve-container 0/1] vmstatus: add pressure stats Alexandre Derumier
@ 2021-02-17 17:08 ` Alexandre Derumier
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Derumier @ 2021-02-17 17:08 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Alexandre Derumier <aderumier@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 bae236b..be71ef1 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -297,6 +297,8 @@ sub vmstatus {
 	} else {
 	    $d->{cpu} = 0;
 	}
+
+	$d->{pressure} = $cgroups->get_pressure_stat();
     }
 
     my $netdev = PVE::ProcFSTools::read_proc_net_dev();
-- 
2.20.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-17 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 17:08 [pve-devel] SPAM: [PATCH v2 pve-container 0/1] vmstatus: add pressure stats Alexandre Derumier
2021-02-17 17:08 ` [pve-devel] SPAM: [PATCH v2 pve-container 1/1] " Alexandre Derumier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal