just a side note.
I see that you try to avoid using sort(), and I fully agree
that this is nice to have if you work on larger datasets.
But we have very few entries, so I would prefer using sort().
> + # We need to keep cpus_by_count sorted:
> + # 1) Since cpus can only be used once the
---
PVE/Service/pvestatd.pm | 171
1 file changed, 171 insertions(+)
diff --git a/PVE/Service/pvestatd.pm b/PVE/Service/pvestatd.pm
index 98e5844..0d51574 100755
--- a/PVE/Service/pvestatd.pm
+++ b/PVE/Service/pvestatd.pm
@@ -15,6 +15,7 @@ use PVE: