Linode cpu graph and 'top' cpu very different - why?
Just got a surprise email alert saying my cpu was averaging over 90%. I look at the cpu graph on the linode panel and it says it's 145% right now.
Logging into ssh and running 'top', I get cpu percent ranging around 20% to 30%. Load average on my 6 core linode is averaging 1.12, 1.05, 1.02.
Why would I be getting such a discrepancy between the graph and running top? The website is loading quickly, so I'm suspicious of the graph being correct,
Thanks for any help or explanation on this -
Chris
3 Replies
k: %CPU -- CPU usage
The task's share of the elapsed CPU time since the last screen
update, expressed as a percentage of total CPU time. In a true
SMP environment, if 'Irix mode' is Off, top will operate in
'Solaris mode' where a task's cpu usage will be divided by the
total number of CPUs. You toggle 'Irix/Solaris' modes with the
'I' interactive command.
Have configured the alerts to reflect this - surprised they weren't set higher on linodes with more cpu's by default. Easy to reset once understood though.
Thank you!
Chris