• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1177
  • Last Modified:

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?

Daniel Wilson
Daniel Wilson
  • 3
1 Solution
%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.
Daniel WilsonAuthor Commented:
Thanks ... those arguments for ps are helping.

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

Featured Post

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now