respectively. Also add two corresponding scripts in the bin folder, tot_stats and monthly_tot_stats. Lastly,
create a new page, user_stats.php3 which will show the top users in connections or connections duration based
on the data in the totacct table.
+* Add a few comments in the tot_stats and monthly_tot_stats scripts
Ver 1.61:
* Add a string encoder for greek
* If general_decode_normal_attributes is set then encode attributes in lib/ldap/change_info. In the near future
#!/usr/bin/perl
use POSIX;
+# Log in the mtotacct table aggregated accounting information for
+# each user spaning in one month period.
+# If the current month has not ended it will log information up to
+# the current month day
+
$conf=shift||'/usr/local/dialupadmin/conf/admin.conf';
$mysql='/usr/local/mysql/bin/mysql';
#!/usr/bin/perl
use POSIX;
+# Log in the totacct table aggregated daily accounting information for
+# each user.
+# We keep a row per user for each day.
+
+
$conf=shift||'/usr/local/dialupadmin/conf/admin.conf';
$mysql='/usr/local/mysql/bin/mysql';