aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/dtracetoolkit/Examples/icmpstat_example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/contrib/dtracetoolkit/Examples/icmpstat_example.txt')
-rw-r--r--cddl/contrib/dtracetoolkit/Examples/icmpstat_example.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/cddl/contrib/dtracetoolkit/Examples/icmpstat_example.txt b/cddl/contrib/dtracetoolkit/Examples/icmpstat_example.txt
new file mode 100644
index 000000000000..e8b8cfe6500b
--- /dev/null
+++ b/cddl/contrib/dtracetoolkit/Examples/icmpstat_example.txt
@@ -0,0 +1,29 @@
+The following is a demonstration of the icmpstat.d script,
+
+
+Here we run it and catch an inbound ping,
+
+ # icmpstat.d
+ 2005 Jul 25 23:05:39,
+
+ STATISTIC VALUE
+
+ 2005 Jul 25 23:05:40,
+
+ STATISTIC VALUE
+ icmpOutMsgs 1
+ icmpOutEchoReps 1
+ icmpInEchos 1
+ icmpInMsgs 1
+
+ 2005 Jul 25 23:05:41,
+
+ STATISTIC VALUE
+
+ ^C
+
+Files such as /usr/include/inet/mib2.h may explain each of the statistics.
+
+The icmpstat.d is a simple demonstration of tracing ICMP activity. It may
+serve as the starting point for other scripts.
+