Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2003-12-01
7
Medium Priority
?
565 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 300 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month11 days, 19 hours left to enroll

636 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