943,965 Members | Top Members by Rank

Nov 29th, 2004
0

IIS question

Expand Post »
When running IIS on 2k pro, is there a way to show the current connections, and which files are being accessed?
Similar Threads
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Nov 29th, 2004
0

Re: IIS question

No. The question actually has no meaning with any web server, because they don't maintain connections at all. Although you get the impression you are "connected" to a site, actaully you are only connected for the length of time it takes to send the requested page to your web browser and then you're disconnected until you request another page. This is why web connections are referred to as "stateless", because no state of connection is ever maintained. The best you can do is configure and examine the web server log files which attempt to do what you ask. But they are always considerably "after the fact" and only really approximate things. To make any sense of them you'll need a log analysis tool. AWStats and Analog are 2 free ones that come to mind, little bit of a job setting them up though. Hope it helps.
Reputation Points: 24
Solved Threads: 8
Posting Whiz
bentkey is offline Offline
321 posts
since Apr 2004
Nov 29th, 2004
0

Re: IIS question

what about the ftp?
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Dec 2nd, 2004
0

Re: IIS question

Sorry, I missed your post. Ftp does use connected state and you can see the active connections in the ftp site properties box, but it won't show what the users are accessing. I really don't know if there is a way to do that with other software or not. ftp logging is similar to web logging.
Reputation Points: 24
Solved Threads: 8
Posting Whiz
bentkey is offline Offline
321 posts
since Apr 2004
Dec 2nd, 2004
0

Re: IIS question

Question moved to IIS forum.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Dec 23rd, 2004
0

Re: IIS question

Technically at any given time, you could run a netstat -an to get the sessions, then grab the output from a utility called filemon which monitors all file activity, you can't tell which ip is getting what but it does give you a good suggestion on how many connections there are and what % of them are grabbing a particular file.
Moderator
Staff Writer
Reputation Points: 154
Solved Threads: 18
Linux Reject
blud is offline Offline
570 posts
since Apr 2004
May 31st, 2005
0

Re: IIS question

Quote originally posted by bentkey ...
No. The question actually has no meaning with any web server, because they don't maintain connections at all. Although you get the impression you are "connected" to a site, actaully you are only connected for the length of time it takes to send the requested page to your web browser and then you're disconnected until you request another page. This is why web connections are referred to as "stateless", because no state of connection is ever maintained. The best you can do is configure and examine the web server log files which attempt to do what you ask. But they are always considerably "after the fact" and only really approximate things. To make any sense of them you'll need a log analysis tool. AWStats and Analog are 2 free ones that come to mind, little bit of a job setting them up though. Hope it helps.
Actually bentkey, the information you've provided is not accurate. First of all, the client's connection to a webserver (IIS in this case) doesn't simply die. The connection won't actually get tombstoned if the server has activated keep-alives in order to maintain said connection. This is done so that the server doesn't have to waste the resources of re-establishing a connection with each request.

Furthermore, while it is possible (albeit a poor approach) to go log monitoring, it is a much better idea to hook into IIS and read the requests as they come in. On that note, FTP does maintain a connection, and requests can be extrapolated in much the same way.

Now you know.

CSharper MCP, MCP+I, MCSE, MCAD, MCSD, MCT
Last edited by kc0arf; Jun 1st, 2005 at 3:55 pm. Reason: Edited to remove attitude
Reputation Points: 10
Solved Threads: 0
Newbie Poster
CSharper is offline Offline
1 posts
since May 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows Servers Forum Timeline: PLease kindly help me, Please!!
Next Thread in Windows Servers Forum Timeline: Not all graphics show up





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC