Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Interpreting user accounting figures.

Jun 01 09 6:09 am

Hi guys,

In order to monitor download volumes, I have create a windows script (batch file) which exports he registry settings for a supplied list of users and then extracts the received byte counts. It writes this to a CSV file which can be imported to excel and a chart plotted. The idea is that at a scheduled time when the users are supposed to be in bed, I will run this srcipt on the scheduler and then reset the user accounts back to zero for the next day.

I'm struggling to understand the difference between two figures namely, "bytes sent to client" and "bytes received for client" which reflects the actual volume downloaded from the internet?

Or is this a sledge hammer and is there an easier way of doing this?

Many thanks in advance
Neil

Re: Interpreting user accounting figures.

Jun 02 09 10:26 pm

actually if you choose the option from the scheduler to export user accounts, it will do this in a CSV format for you.

the difference between bytes sent between Wingate and client, vs WinGate and the internet is mainly affected by caching.

WinGate <-> Internet shows you how much internet / link resource someone is using, whereas WinGate <-> Client shows you how much a user is using. The difference is made up of what's served from cache, and small differences between the size of requests made by the client and WinGate. WinGate generally makes a smaller request than a client (if the client is configured to use the proxy).

Regards

Adrien

Re: Interpreting user accounting figures.

Jun 03 09 9:56 am

Adrien,

Thanks for the info. I wish I had known, it would have saved me an hours work :-(

Its perfect, just what I was looking for. BTW, its tab seperated not comm but who cares Excel and deal with it.

I dont supposed there is a registry setting to control where the file is created is there it seems a bit random?

Cheers
Neil

Re: Interpreting user accounting figures.

Jun 03 09 12:18 pm

Neil,

Just tested and you can put the full path with the file name.

Larry

Re: Interpreting user accounting figures.

Jun 04 09 8:26 am

Hi Larry,

Thanks I did try that and it failed but I'll give it another try.

Cheers
Neil

Re: Interpreting user accounting figures.

Jun 04 09 4:03 pm

Couple of notes.

1. When you make a change in the scheduler, you must first OK your way out to the GateKeeper and then open the scheduler again before clicking Run Now. If you click Run Now straight away, it will run the old scheduled event which is saving to the WinGate directory, instead of the modified event.

2. WinGate must have write permissions where you are trying to save the file. WinGate runs in the system account, so in a normal environment, WinGate should have write access everywhere, but if you were trying to use a UNC path for instance.
Post a reply