. All rights reserved. */ /* ========================================================================== */ /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* ========================================================================== */ ]]> Interface Bandwidth Stats ifbwstats None Currently there are no FAQ items provided. 1.0 ifBWStats: if Bandwidth Stats Settings /usr/local/pkg/ifbwstats.inc ifBWStats
Status
/ifbwstats_cur.php
Daily /ifbwstats_cur.php Monthly /ifbwstats_disp.php Settings /pkg_edit.php?xml=ifbwstats.xml&id=0 /usr/local/www/ 0755 http://files.pfsense.org/packages/config/ifbwstats/ifbwstats_daily.php /usr/local/www/ 0755 http://files.pfsense.org/packages/config/ifbwstats/ifbwstats_disp.php /usr/local/www/ 0755 http://files.pfsense.org/packages/config/ifbwstats/ifbwstats_cur.php /usr/local/www/ 0777 http://files.pfsense.org/packages/config/ifbwstats/ifbwstats_daemon.php /usr/local/pkg/ 0755 http://files.pfsense.org/packages/config/ifbwstats/ifbwstats.inc /usr/local/etc/rc.d/ 0755 http://files.pfsense.org/packages/config/ifbwstats/ifbwstats.sh firstday First Day: This is the first day of your billing period. It can be changed at anytime with no impact on the recorded data. select intervalrun Connection Speed: Select the maximum speed your connection is capable of in either the up or down direction. This insure the connection is monitored appropriately. select ifmon Interface to Monitor: Monitor all interfaces or only the WAN(internet) interfaces. When this is set to WAN, no stats are recorded for any other interfaces. select logging Debug Daemon: Logging of the Daemon's actions to /tmp/ifbwstats.log. Warning, file is not managed and can become very large. select kill_php_script(); start_php_script(); update_status ("Adding RC entries..."); ifbwstats_add_rc(); update_status ("Setting default values..."); ifbwstats_set_var(); update_status ("Adding CRON entry..."); ifbwstats_add_cron(); update_status ("Starting php script..."); start_php_script(); update_status ("Kill php script..."); kill_php_script(); update_status ("Backup data files and remove tmp files..."); update_status ("Removing RC entries..."); ifbwstats_remove_rc(); update_status ("Removing CRON entry..."); ifbwstats_remove_cron(); update_status ("Removing files..."); update_status ("Remove settings..."); ifbwstats_remove_var();