This is a statistics plugin for verlihub.

Description:
every 10 minutes, hub saves some statistics into the database, table is called pi_stats. 
Some stats are taken directly from hub, and some may be calculated by the plugin itself.


Configuration:
nothing to configure at this moment.

Chat commands:
none

Dependencies:
nothing special

Install Verlihub first:
go to verlihub project, make it, and "make install", Note, you can profit of the ./configure --prefix /some/folder
which tells you where should be verlihub installed.
After making verlihub you'll find a file called verlihub_config in it's folder (which is not installed now .. to verify)
you can copy it anywhere into the reach of PATH, so that typing verlihub_config would execute it..
When it's done, you can run ./configure of this script

Using plugins in verlihub:
verlihub has two mechanisms for the plugins
1/ the .verlihub/plugins folder (which you may wanna create)
2/ !plugin !pluout !plugreload !pluglist all commands

the plugin can be foung (after running 'make') in the src/.libs folder

* if you wanna load plugin automaticaly on startup of verlihub, put a file called (in this case) "libstats_pi.so" 
which is the plugin itself. verlihub searches for files called .verlihub/plugins/*.so and tries to load them

!pluglist all
and you will see it there

!plugin relative/path/filename
!plugout PluginName1.0
!plugreload PluginName1.0


