if I have a two CPU
when I run vmstat command to check cpu usage
it only one row
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
1 1 0 82834 120462 0 0 28 0 0 0 0 420 14559 45 0 0 99
but I use top command ,it shows two row
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
2 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
I would like to know the total cpu usage ,my question is
vmstat it show total cpu usage or only one cpu usage
if it show total cpu usage ,that I want
if not i don't
thanks