Solved

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

Posted on 2003-12-01
7
550 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
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

680 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