]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/tcpstat_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / tcpstat_example.txt
1 The following is a demonstration of the tcpstat.d script,
2
3
4 Here we run tcpstat.d as a large file is downloaded,
5
6    # tcpstat.d 
7        TCP_out   TCP_outRe      TCP_in   TCP_inDup    TCP_inUn
8              0           0           0           0           0
9             20           0        1540           0           0
10            632           0         576           0           0
11            560           0      115552           0           0
12           1872           0     2900480           0           0
13           1968           0     3032320           0           0
14           1776           0     2752160           0           0
15            752           0      999824           0           0
16              0           0           0           0           0
17              0           0           0           0           0
18              0           0           0           0           0
19    ^C
20
21 We can see the TCP_in value rise to around 3 Mb/sec as the download occurs. 
22