DynastyHost
07-25-2002, 08:51 AM
How do you monitor bandwidth usage of a user on a shared IP?
![]() | View Full Version : Bandwidth usage on Shared IP DynastyHost 07-25-2002, 08:51 AM How do you monitor bandwidth usage of a user on a shared IP? jkca 07-25-2002, 10:08 AM Originally posted by DynastyHost How do you monitor bandwidth usage of a user on a shared IP? The webserver should generate seperate logfiles on a domain name basis, you can use a program like analog to parse them and it will tell you how much bandwidth that site has used. Although be careful of the users who access files through IP address and directory offset, that will be accessed through the main web server logfile and the only way to add them into the correct domain is through the directory in the filename accessed. Gareth 07-25-2002, 10:08 AM Hi, You have to extract the data from the log files of the various services there isn't really a 100% reliable way of doing it for a shared IP. This method does miss a bit of data so the amount recorded at the switch and the amount recorded in the log files will be different. For example if you have two domains sillydomainone.com and silydomain2.com sharing the same IP then if someones goes to the shared ip of the two domains (10.0.0.99 for example) then that data is recorded as traffic at the swtich but which domain would you bill for http traffic, neither. See the problem Have fun.. Gareth |