x 087 2 accounting zeroing counter


Resetting the CountersLinux Network Administrators GuidePrevChapter 10. IP AccountingNextResetting the Counters The IP accounting counters will overflow if you leave them long enough. If they overflow, you will have difficulty determining the value they actually represent. To avoid this problem, you should read the accounting data periodically, record it, and then reset the counters back to zero to begin collecting accounting information for the next accounting interval.The ipfwadm and ipchains commands provide you with a means of doing this quite simply: # ipfwadm -A -z or: # ipchains -Z or: # iptables -Z You can even combine the list and zeroing actions together to ensure that no accounting data is lost in between: # ipfwadm -A -l -z or: # ipchains -L -Z or: # iptables -L -Z -v These commands will first list the accounting data and then immediately zero the counters and begin counting again. If you are interested in collecting and using this information regularly, you would probably want to put this command into a script that recorded the output and stored it somewhere, and execute the script periodically using the cron command.PrevHomeNextUsing IP Accounting ResultsUpFlushing the Ruleset

Wyszukiwarka

Podobne podstrony:
x 087 2 accounting
x 087 2 accounting ipfwadm
x 087 2 accounting flushing rules
x 087 2 accounting viewing results
x 087 2 accounting passive collection
circuit counter
x 087 2 cnews misc
accounts
x 087 2 cnews nfs
checking account aloud
CV Key Account Manager
counter binary+it summary
68 be bytopic counteroffers1
counter stats
White Collar S02E13 Countermeasures HDTV XviD FQM 2

więcej podobnych podstron