Re: Charting bandwidth untilization usage via IIS6, ASP and IIS log files.
Hi,
Thanks for the logparser recommendation. I used it and it has pushed me in the right direction.
I used the following line to output some numbers.
LogParser "SELECT TO_TIMESTAMP(date,time) , sc-bytes, cs-bytes, time-taken , cs-host INTO h:\temp\output.csv FROM h:\temp\log.log" -q:ON
Specifically, I outputted the time, bytes and time taken from the log file.
I then added up the bytes (down and up), converted the bytes to megabits and then divided by the time taken.
Can you confirm my math to derive the average megabits per second:
Megabits Total: 27.9159698486328000
Seconds total: 343.583
Megabits per second average: 0.081249567 (megabits divided by time)
The only problem I ran into is that my FTP server (SERV-U) does not output a log in a format that logparser can read so I am stuck there.