From 24f19ef7a1cdd52df462d079a6c26cf15e25e075 Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Mon, 10 Jan 2022 05:52:59 +0100 Subject: [PATCH] read_proc_stat: add irq/softirq/steal to total used cpu --- src/PVE/ProcFSTools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/ProcFSTools.pm b/src/PVE/ProcFSTools.pm index 79d4a4c..10c0cbd 100644 --- a/src/PVE/ProcFSTools.pm +++ b/src/PVE/ProcFSTools.pm @@ -173,7 +173,7 @@ sub read_proc_stat { $res->{nice} = $2 - $10; $res->{system} = $3; $res->{idle} = $4; - $res->{used} = $1+$2+$3; + $res->{used} = $1+$2+$3+$6+$7+$8; $res->{iowait} = $5; $res->{irq} = $6; $res->{softirq} = $7;