aboutsummaryrefslogtreecommitdiff
path: root/Examples/udpstat_example.txt
blob: 4ffa3bafeacb6f96c83155c80b2fbdd9cb87ff83 (plain) (blame)
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
39
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.