Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to know how much disk space each IIS6 web site is taking up on the server.

Simple topology: each site is on one server
(one of the servers has a couple hundred sites on it so 'manual' is out)

I wanted to write a program, but my manager replied, "See if there is a tool out there first before writing something."
Reasonable... I know there are plenty of people doing shared hosting, any ideas how I could find that?
Maybe no one these days (except us) cares about disk space because it is so cheap?


I've searched "IIS Analysis Tools", "iis 6 disk space used per site", and a few others but they all seem to contain such common words that I don't get anything near what I'm looking for (even once I start down the rabbit hole with -bandwidth, etc.)

I don't want to limit the quota.
I don't care about bandwidth (I do, but that's what the site logs are for ;-))

I just want a list of each site and the amount of disk space associated with it.

Seems simple, can anyone help? Thanks,
-Chris C.

Answering comment:
A stand alone application would be fine. (not trivial for me at the moment)
.NET is fine, I have VS 2010.
I would prefer C#, but beggers can't be choosey :-)
Thanks for any help you can provide
Posted
Updated 15-Dec-11 2:44am
v2
Comments
Sergey Alexandrovich Kryukov 13-Dec-11 14:42pm    
Well, the questions: do you need to present this information on a Web site (the same or not) or you can be happy with a stand-along program, which is way too trivial. If you need to deliver this information to a Web site, on what event(s)? by request?

Can you use ASP.NET? If not, can you use .NET is any other way.

--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900