-
Notifications
You must be signed in to change notification settings - Fork 133
/
Copy pathudpstat_example.txt
39 lines (29 loc) · 1.49 KB
/
udpstat_example.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
The following is an example of the udpstat.d script,
Here we run udpstat for a few seconds. Firstly, we run a "spray" command
outbound, followed by a spray inbound. Both can be identified in the
output below,
# udpstat.d
UDP_out UDP_outErr UDP_in UDP_inErr UDP_noPort
0 0 0 0 1
0 0 0 0 2
0 0 0 0 0
1165 0 2 0 0
0 0 0 0 0
0 0 0 0 2
3 0 1166 0 1
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
^C
Here we run udpstat.d while an outbound DNS lookup is performed using
"nslookup",
# udpstat.d
UDP_out UDP_outErr UDP_in UDP_inErr UDP_noPort
0 0 0 0 1
0 0 0 0 1
1 0 1 0 0
0 0 0 0 0
0 0 0 0 3
^C
Little output is observed as this tracks datagrams not bytes. There is
one outbound and one inbound datagram.