Understanding Webmin CPU statistics

One of my customers has a dynamically generated "slide show" of tables and graphs created from the web application's data.

The application runs on Ubuntu, Apache, MySql, and PHP.

The slide show is sometimes timing out ... the browser bringing up its own "this web page is taking too long" message.

I load tested this morning and webmin shows the CPU numbers higher than usual.  But what do these numbers mean?


CPU load averages       1.24 (1 min) 0.90 (5 mins) 0.53 (15 mins)
Is that 1.24% of CPU capability?  Or 124%?

CPU usage       66% user, 1% kernel, 0% IO, 33% idle
What's User CPU?  Would that be Apache?  MySql?
What IO?  Are we saying that Disk access is not a significant factor ... or something else?

Thanks!
LVL 32
Daniel WilsonAsked:
Who is Participating?
 
theruckCommented:
%user: Percentage of CPU utilization that occurred while executing at the user level (application).

Following command will displays the top 10 CPU users on the Linux system.
# ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10

You can also use iostat command which report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions. It can be use to find out your system's average CPU utilization since the last reboot.
0
 
Daniel WilsonAuthor Commented:
Thanks ... those arguments for ps are helping.

Where would I find iostat ?
0
 
Daniel WilsonAuthor Commented:
Never mind on the last question ... I had to add it with
apt-get install sysstat
0
 
Daniel WilsonAuthor Commented:
Thanks.  I think those commands, run during my next load-test session, will prove helpful.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.