systat - Add -pftop feature to display active PF state table traffic
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 30 Aug 2013 22:30:19 +0000 (15:30 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 30 Aug 2013 23:02:14 +0000 (16:02 -0700)
commite88010e7511a070d9ab1afc8a7e2e4b45ae5f2f9
tree7bdf14268d618e6d08dc56dbc294596e0ded5145
parent3ca50e1d7ebe6a7a15683e303c0b4cf45ea629a2
systat - Add -pftop feature to display active PF state table traffic

* Add the -pftop (:pftop) feature.  This feature displays all active
  PF states.  PF (packet filter) must be active for this feature to be
  useful.

  Only those states which are actively passing traffic are displayed,
  which makes this a lot more useful than a raw 'pfctl -s state' dump.

* Display is sorted by highest aggregate receive+transmit bandwidth.
usr.bin/systat/Makefile
usr.bin/systat/cmdtab.c
usr.bin/systat/extern.h
usr.bin/systat/pftop.c [new file with mode: 0644]
usr.bin/systat/systat.1