Cpu usage statistics etc

If it doesn't fit in another category, ask it here.
Post Reply
ZaNaToS
Posts: 82
Joined: 2007/08/23 13:34:59

Cpu usage statistics etc

Post by ZaNaToS » 2011/09/27 07:31:27

Hello,

I'm running CentOS release 5.5 on a remote server (no x windows available only console).

I want to find a way to create usage statistics of the cpu of a process lets say for 24 hours.
for example my mysql server sometimes uses 15% CPU some others 35% some 105%
I would like to have a util to monitor via the user the cpu usage for 24 hours and then give me the Average CPU usage.

Do you know any util that could do that?

thank you.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Cpu usage statistics etc

Post by pschaff » 2011/09/27 22:06:57

I don't have a specific recommendation from experience (except that 5.5 is obsolete and consequently unsupported, and a "yum update" to 5.7 is overdue) but a google on [url=http://www.google.com/search?q=cpu+usage+statistics+centos5+OR+rhel5+OR+%22red+hat+enterprise+linux+5%22&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a]cpu usage statistics centos5 OR rhel5 OR "red hat enterprise linux 5"[/url] may suggest some options.

foxb
Posts: 1927
Joined: 2006/04/20 19:03:33
Location: Montreal/QC

Cpu usage statistics etc

Post by foxb » 2011/09/28 15:37:56

For general monitoring http://www.cacti.net/

You can also create your own scrips to monitor if you do not need the GUI

Just Google linux monitoring script

Post Reply