This add new cgroups value stats.
hostcpu/hostmem give the real cpu/mem usage of a vm, including vhost-net.
Changelog v2:
- rebase on last master
- use new pressure code from pve-common
Alexandre Derumier (3):
vmstatus: add hostcpu value
vmstatus: add hostmem value
vmstatus: add
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 3a623c5..f99f969 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2706,6 +2706,8 @@ sub vmstatus {
$d->{cpu} =
Signed-off-by: Alexandre Derumier
---
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;
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 11 +++
1 file changed, 11 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index f401baf..52db3d3 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2657,8 +2657,11 @@ sub vmstatus {
my $pstat =
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
___
pve-devel mailing list
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 5 +
1 file changed, 5 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 52db3d3..3a623c5 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2668,6 +2668,11 @@ sub vmstatus {
if ($pstat->{vsize})
Thank you for the patch.
I tried to test this patch with both a CentOS 8 and Ubuntu 20.04 VM and
it never worked right.
I added another line for 'once|yes|on|true' where ssh_deletekeys is set
to 'true' as that is missing in this patch. Then I tried it with CentOS
8 and cloud-init 19.4.
In
CLIFormatter passes in an options hash as a second paramter, which so
far was ignored. Now that we treat it as a precision parameter, check if
it is a hash and extract the option from it before using it.
Otherwise perl puts HASH(0x...) into the format and sprintf chokes.
Signed-off-by: Stefan
On 17.02.21 11:35, Fabian Ebner wrote:
On 17.02.21 10:52, Dominik Csapak wrote:
LGTM, nothing obvious that is wrong
one small thing though, after this patch i cannot
have an @ in the local part of an email anymore, though
i do not think that people actually use that?
e.g. foo@b...@example.com
applied
On Wed, Feb 17, 2021 at 11:39:38AM +0100, Fabian Grünbichler wrote:
> and switch from PollEvented to AsyncFd, dropping the direct mio
> dependency in turn.
>
> Signed-off-by: Fabian Grünbichler
> ---
> Cargo.toml | 3 +--
> src/io/pipe.rs | 9 +
>
and switch from PollEvented to AsyncFd, dropping the direct mio
dependency in turn.
Signed-off-by: Fabian Grünbichler
---
Cargo.toml | 3 +--
src/io/pipe.rs | 9 +
src/io/polled_fd.rs | 45 +++--
src/main.rs | 2 +-
4
On 17.02.21 10:52, Dominik Csapak wrote:
LGTM, nothing obvious that is wrong
one small thing though, after this patch i cannot
have an @ in the local part of an email anymore, though
i do not think that people actually use that?
e.g. foo@b...@example.com does not work anymore
Thanks for the
LGTM, nothing obvious that is wrong
one small thing though, after this patch i cannot
have an @ in the local part of an email anymore, though
i do not think that people actually use that?
e.g. foo@b...@example.com does not work anymore
Other than that, i tested it and worked as advertised
13 matches
Mail list logo