]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Add a few comments in the tot_stats and monthly_tot_stats scripts
authorkkalev <kkalev>
Wed, 29 Jan 2003 22:42:48 +0000 (22:42 +0000)
committerkkalev <kkalev>
Wed, 29 Jan 2003 22:42:48 +0000 (22:42 +0000)
Changelog
bin/monthly_tot_stats
bin/tot_stats

index 9b211e5c322921f9161187e32fd1c7f8606cba2b..a89d1083ea7efd27bc7f11d94d744be62e1883ef 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -39,6 +39,7 @@ Ver 1.62:
   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
index 42676a8616273635db4301e1abdf73c2939368ee..22f2ddcba64a09de97762bb1978586017c980d64 100755 (executable)
@@ -1,6 +1,11 @@
 #!/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';
 
index 5fb7dcccf213f8b39f99605890b800b741cc227d..2d60b46645f6e02a8f5233c8e062647e7393f3de 100755 (executable)
@@ -1,6 +1,11 @@
 #!/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';