1BPFMON(8) System Manager's Manual BPFMON(8)
2
3
4
6 bpfmon - BPF based visual packet rate monitor
7
9 bpfmon
10
11 bpfmon [-autzvIiLlnNh] <device> '<bpf_filter_code>'
12
13 bpfmon [-autzvIiLlnNh] iptables '[<table>] <chain> <rulenum>'
14
15 bpfmon [-autzvIiLlnNh] iptables [select]
16
18 bpfmon (like tcpdump) uses BPF filter to select packets that match the
19 filter. While with tcpdump it is easy to see what packets match the
20 filter, bpfmon shows how much are the matches packets in terms of bytes
21 per second and packets per second.
22
23 bpfmon displays the information in pseudo-graphical text interface, de‐
24 veloped for modern terminals, but it also supports pure ASCII display.
25
26 In addition, bpfmon allows instead of monitoring packets matching a BPF
27 filter to get its data from an iptables rule (on Linux systems).
28
29 In interactive mode, there are hot keys to display help or modify the
30 mode of operation.
31
32 Without any arguments, bpfmon will display its version and options
33 help.
34
36 -a Use ASCII drawing characters
37
38 -u Use UTF-8 drawing characters
39
40 -t Use no interface (simple text output)
41
42 -z Use horizontal full-screen interface
43
44 -v Use vertical full-screen interface
45
46 -I Show history in vertical full-screen
47
48 -i Hide history in vertical full-screen
49
50 -L Show legend in vertical full-screen
51
52 -l Hide legend in vertical full-screen -n Show interface white on
53 black
54
55 -N Show interface inverse (black on white)
56
57 -h Show usage information and exit
58
60 h, H, ?
61 Toggle help screen
62
63 a, A switch to ASCII drawing chars
64
65 u, U switch to UTF-8 drawing chars
66
67 m, M toggle horizontal/vertical mode
68
69 i, I toggle history in vertical mode
70
71 l, L toggle legend in vertical mode
72
73 r, R, Ctrl-L
74 refresh screen
75
76 q, Q, Ctrl-C
77 Exit
78
80 tcpdump(8), bpf(4), pcap-filter(7)
81
83 The bpfmon program was written by Boian Bonev from 2014 to 2021.
84
85 This manual page was written by Boian Bonev for the Debian project and
86 is placed in the public domain.
87
88
89
90 September 2020 BPFMON(8)