5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-09 05:17:35 +03:00

read_proc_stat: add irq/softirq/steal to total used cpu

This commit is contained in:
Alexandre Derumier 2022-01-10 05:52:59 +01:00 committed by Thomas Lamprecht
parent c140206bf8
commit 24f19ef7a1

View File

@ -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;