3proxy Log File Analyzer
Once I needed statistics on the use of traffic passing through it. I did not find suitable (simple and easy to use) solutions. That is why I decided to do it myself.
More about him ...
- Displays summary statistics for all users.
- Displays statistics specifically for a single user.
By users is meant the account entered in the configuration file of the proxy server. Enough words, here is an example of use : Installation :
vir@home:/usr/local/3proxy/logs$ ls
3proxy.log.2008.05.28 3proxy.log.2008.05.30 3proxy.log.2008.06.01
3proxy.log.2008.05.29 3proxy.log.2008.05.31 3proxy.log.2008.06.02
vir@home:/usr/local/3proxy/logs$
vir@home:/usr/local/3proxy/logs$ 3proxy-analyze summary
All logs analyzed by summary method.
Accepted: 17 MB
Transfered: 557 MB
vir@home:/usr/local/3proxy/logs$ 3proxy-analyze summary wasp
All logs analyzed by summary method.
Accepted: 0 MB
Transfered: 8 MB
vir@home:/usr/local/3proxy/logs$
- For 3proxy-analyze to work correctly, it is necessary that the PHP interpreter and PHP-CLI are installed on the computer (--enable-cli - when compiling PHP)
- All you need to do to install is to download the archive below, distribute the files, and place 3proxy-analyze in the directory with executable files, then assign this file permissions.
- After you installed 3proxy-analyze - configure it. Open the 3proxy-analyze file in your favorite editor and specify the desired values for the directives in the configuration block.
Well, actually the link to the analyzer itself. Maybe someone will come in handy.