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