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:
parent
c140206bf8
commit
24f19ef7a1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user