How to calculate bandwidth consumption for a Hosting Account using C# in ASP.Net Application?
Posted
by Steve Johnson
on Stack Overflow
See other posts from Stack Overflow
or by Steve Johnson
Published on 2010-06-01T05:48:09Z
Indexed on
2010/06/01
5:53 UTC
Read the original article
Hit count: 483
HI all,
I am working on SaaS Hosting Software. a large number of sites are hosted on the server. I am trying to calculate bandwidth consumption, (bytes transferred in and out) using C#, described Here using the MS Log Parser.
In the above case, if the log files are deleted by the user or any administrator even, the bandwidth calculation will not be possible.
Q1: *What is the standard way to measure the Bandwidth for various Hosting accounts (of websites) on a single server?*
Q2: *If Log parser mechanism (as described above) is used, then how to take care of the security issue? Is there some system directory or event viewer logs or something which cannot be deleted except by the System account and contains bandwidth data?*
Please point me in the right direction.
Thanks
© Stack Overflow or respective owner