[pve-devel] applied: Re: [PATCH common v2] ProcFSTools: read_proc_stat: add more cpu stats from /proc/stat

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jul 29 10:31:35 CEST 2021


On 28/07/2021 14:12, Dominik Csapak wrote:
> those fields might be interesting to users. At the moment, this is
> only used in the external metrics export.
> 
> These fields exist in the kernel since:
> * irq - 2.6.0
> * softirq - 2.6.0
> * steal - 2.6.11
> * guest - 2.6.24
> * guest_nice - 2.6.33
> 
> so they must all exist
> 
> also add a 'total' field which simply sums up the (non-guest) fields
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> changes from v1:
> * made the new fields non-optional (new kernel is a hard req.)
> * added a new 'total' field which is the same as in pbs
> 
>  src/PVE/ProcFSTools.pm | 17 ++++++++++++++++-
>  1 file changed, 16 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list