Solved

Help lil Urgent::Apache:Server-Status:CPU Usage !

Posted on 2003-12-01
7
538 Views
Last Modified: 2010-03-04
Dear All,
 
Iam using Apache 1.3.28 / Jserv 1.1.2 On Windows 2000.
I was analyzing server-status of my server, Why I can't see CPU usage data in those details.
I tried to look at some other web sites who uses Apache 1.3.28, I could see the CPU usage in that.
 
Do I need to change in my configuration files Or is it because Iam running on Windows ?
How do I see the CPU usage per request, I need to find out which request is taking more cpu access.
 
Please help me,
thanks in advance,
-kkanagaraj
0
Comment
Question by:kkanagaraj
  • 3
  • 2
  • 2
7 Comments
 
LVL 15

Expert Comment

by:samri
ID: 9851510
hi kkanagaraj,

very interesting observation!

mine was running on win2k, and do not have CPU usage too. It is a standard installation from Apache website;
Server Version: Apache/1.3.24 (Win32)
Server Built: Mar 21 2002 22:14:00

But, this one is running under Cygwin -- which is a Unix emulator on Win32 -- chances are the machine is Windows.

Server Version: Apache/1.3.28 (Cygwin) mod_ssl/2.8.15 OpenSSL/0.9.7c DAV/1.0.3
Server Built: Oct 26 2003 18:15:43

Current Time: Monday, 01-Dec-2003 18:24:27
Restart Time: Friday, 28-Nov-2003 11:06:57
Parent Server Generation: 0
Server uptime: 3 days 7 hours 17 minutes 30 seconds
Total accesses: 8598 - Total Traffic: 71.5 MB
CPU Usage: u1.3 s2.5 cu0 cs0 - .00133% CPU load
.0301 requests/sec - 262 B/second - 8.5 kB/request
1 requests currently being processed, 9 idle servers

more observation can be found here --
http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=apache+server-status+CPU


I would assume that Win32 native compile won't show the CPU usage :)


and... it is very interesting to find out how many peope out there does not protect the /server-status handle.. gee!

cheers.
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 9851551
Is ExtendedStatus turned on?  There should be aline that looks like:

ExtendedStatus on

0
 
LVL 15

Expert Comment

by:periwinkle
ID: 9851575
Whoops - hit enter too quickly.

ExtendedStatus must be turned on in order to see CPU usage;  see:

http://httpd.apache.org/docs/mod/mod_status.html

0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:kkanagaraj
ID: 9851795
Hi Samri,

Nice to knw that you hit it correctly. Well, Iam pretty sure that its a problem with Windows.
I have checked up other websites, all are running in Unix box.
Well, regarding access to /Server-status, It is restricted to access only from my corporate sub domain. So, it is no where exposed to Internet world.

Thanks a lot for you immediate reply,
Cheers,
-Kannan Kanagaraj
0
 
LVL 15

Accepted Solution

by:
samri earned 100 total points
ID: 9867773
Kannan,

that was great!

if you are satisfied with the solution, you may close the question.

Otherwise, you may further comment.

I would personally have to apologize for not be able to give a 110% *sure* solution -- but to my experience, it looks like we are on the right track.


cheers.
0
 
LVL 15

Expert Comment

by:samri
ID: 9867930
Kannan,

forgot to highlight that, I noticed that if Apache is Cygwin version -- the CPU Load DID showed up.  Check the google link again, and you may notice the difference (note the OS).  I guess maybe the cygwin1.dll (the posix emulator) is making that possible.

0
 

Author Comment

by:kkanagaraj
ID: 9868097
Samri,

I dont think Iam using Apache Cygwin. Iam using Apache on Windows 2k. I think it uses win32.dll.
what u say
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now