summaryrefslogtreecommitdiffstats
path: root/Examples/tcpstat_example.txt
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
committergnn <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
commit4297c1b2d07fec7f50b70e26e3adb4d062b19e15 (patch)
treeaec2772e8855e6dbaea6d8136ed0c47bcb825dee /Examples/tcpstat_example.txt
parent111c75a23278cd9317f0a13867c22ee0f6c95b26 (diff)
downloadFreeBSD-src-4297c1b2d07fec7f50b70e26e3adb4d062b19e15.zip
FreeBSD-src-4297c1b2d07fec7f50b70e26e3adb4d062b19e15.tar.gz
Add the remaining scripts from the DTraceToolkit, version 0.99, to the
vendor tree. http://www.brendangregg.com/dtrace.html#DTraceToolkit
Diffstat (limited to 'Examples/tcpstat_example.txt')
-rw-r--r--Examples/tcpstat_example.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Examples/tcpstat_example.txt b/Examples/tcpstat_example.txt
new file mode 100644
index 0000000..d7d8cb3
--- /dev/null
+++ b/Examples/tcpstat_example.txt
@@ -0,0 +1,22 @@
+The following is a demonstration of the tcpstat.d script,
+
+
+Here we run tcpstat.d as a large file is downloaded,
+
+ # tcpstat.d
+ TCP_out TCP_outRe TCP_in TCP_inDup TCP_inUn
+ 0 0 0 0 0
+ 20 0 1540 0 0
+ 632 0 576 0 0
+ 560 0 115552 0 0
+ 1872 0 2900480 0 0
+ 1968 0 3032320 0 0
+ 1776 0 2752160 0 0
+ 752 0 999824 0 0
+ 0 0 0 0 0
+ 0 0 0 0 0
+ 0 0 0 0 0
+ ^C
+
+We can see the TCP_in value rise to around 3 Mb/sec as the download occurs.
+
OpenPOWER on IntegriCloud