1

We are having problems with performance on our server that host our websites that the processor gets upp to 90%. I would like to monitor the amount of users active on your sites that are published on the iis. My question, is this possible? is there any software for this?

EDIT current (like this second) visitor count on all the active websites on our iis

REASON FOR THIS
if i can get the visitor amount on the days the CPU is not overloaded and and compare it to the days it is then i atleast know that this CAN be a reason why this is happening and i can take it from there. Otherwise i can focus on the code on the sites, or maybe google crawler is causing this, there are manythings that can cause this you know? for me this is just a simple way of troubleshooting.

14
  • How is knowing the number of active users/connections going to help you resolve the CPU utilization problem?
    – joeqwerty
    Mar 20, 2012 at 10:35
  • 1
    Step 1: Define "user".
    – womble
    Mar 20, 2012 at 10:40
  • @womble Website visitor
    – Dejan.S
    Mar 20, 2012 at 10:59
  • Step 2: Define "Website visitor". Seriously, it is very hard to accurately capture what set of requests constitute one visitor. Most people stick with a much simpler metric like "page views".
    – womble
    Mar 20, 2012 at 11:00
  • 2
    Again, how are you going to correlate the number of visitors to the CPU utilization? How will you know how many visitors is too many? Is there a metric or formula for calculating that? It's like asking how many bunnies can be supported by x number of carrots, without knowing how many carrots a single bunny consumes.
    – joeqwerty
    Mar 20, 2012 at 11:07

3 Answers 3

1

This isn't an exact count for how many users are currently on the site, but it's a metric that we consider close enough for what you're after. We use the performance counter 'Web Service\Current Connections'.

When a user initially hits your site their browser will most likely open up 5 or 6 connections but that will probably settle down to 1 once they've loaded the images/scripts etc (that's what we've found anyway).

1
0

You can turn on IIS Request Tracing, and/or monitor Worker Processes under Health and Diagnostics (if you're using W2K8/IIS7x) and combined with detailed logging being enabled, should tell you how many requests you're currently serving and the logging (with a W3C log parser, Google it) will give you an aggregate over a period of time.

If you're using IIS 6/Windows 2003, you can use perfmon and add whatever IIS-related counters you want and leave it running.

0

If this is iis7 you can try using appcmd.

%systemroot%\system32\inetsrv\APPCMD list requests

http://www.iis.net/learn/get-started/getting-started-with-iis/getting-started-with-appcmdexe#Finding

It will show active iis connections.

II6 has a vbs script called iisweb.vbs that did similar. I've never used it so I don't know where it's located.

iisweb.vbs /query

https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/1805162e-6ac5-4a98-9a08-919c4c10827d.mspx?mfr=true

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .