[pve-devel] [PATCH pve-common 0/4] improve host read_proc_stat

Alexandre Derumier aderumier at odiso.com
Mon Jan 10 05:52:56 CET 2022


This patch series improve current host cpu stats


Alexandre Derumier (4):
  read_proc_stat : initialize newer fields to 0
  read_proc_stat: substract guest && guest_nice from user && nice time
  read_proc_stat: add irq/softirq/steal to total used cpu
  read_proc_stat: use total of fields to compute percentage

 src/PVE/ProcFSTools.pm | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

-- 
2.30.2




More information about the pve-devel mailing list