1829613 Members
1959 Online
109992 Solutions
New Discussion

Apache Help

 

Apache Help

Hi Folks,
I don't know where to post this for help in Apache web server.So I am using this.
Ok I am using Apache 1.3.26 vertion. As you know apache status tool will come along with this. This tool is showing some x percetage of CPU utilization like CPU Usage: u33.05 s144.42 cu1409.76 cs1089.04 - 89% CPU. But if use top, the CPU utilization is <2% from httpd processes.

So my question is , Why is this diffrent?
Is the apache tool is wrong or my interpretaion is wrong?

Please help me in this.

4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Apache Help

The apache status tool is different in two ways:

1) It uses different measurement metholodogy than top.
2) I think it measures only the processes that apache owns. This may not be true.

The difference in measurement methodology is the reason the figures are different.

For a better look, use glance or glance plus, a paid add in, though you can use the 60 day trial.

Even better collect some data with the scripts I'm attaching.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Apache Help

hi Protter,

I have already configured parm file. And I have full licenced vertion of Glance plus. I am collecting the httpd usage separately.

So according to you, apache tool is wrong?
So It's no point of using apache tool?

So please answer to my questions that i have
1. What to measure from apache. I mean parameters that I want to check about Apache. And how to monitor them.I prefer any command line tool. Such that i can run a shell script and collect them frequently..

Sridhar Bhaskarla
Honored Contributor

Re: Apache Help

Hi Sreekanth,

If you have Full Version of GlancePlus, you can do manything as it comes with measureware. What you need to do is to setup an 'application' inside measureware and collect staticstics on it. Look at the examples in /var/opt/perf/alarmdef file on setting up the application. For ex., you can group all 'httpd' processes together as an application and get various metrics (search for APPLICATION in the file /var/opt/perf/reptall file). You will need to restart measureware once the changes are made. You can see the runtime performance related to this application in glance window (type 'a'). To gather the historical date use 'extract' command. It has a 'guide' option that can take you through the process.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try

Re: Apache Help

Hi Sridhar,

Please check my previous post. I have done all those things, that u said. I want apache specific parameters. And also i have PerfView, I use this to extract the data from measure ware.