]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/icmpstat.d.1m
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / icmpstat.d.1m
1 .TH icmpstat.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 icmpstat.d \- print ICMP statistics. Uses DTrace.
4 .SH SYNOPSIS
5 .B icmpstat.d
6 .SH DESCRIPTION
7 icmpstat.d is a DTrace program to print ICMP statistics every second,
8 retrieved from the MIB provider. This is a simple script to demonstrate the 
9 ability to trace ICMP events.
10
11 The ICMP statistics are documented in the mib2_icmp struct
12 in /usr/include/inet/mib2.h; and also in the mib provider
13 chapter of the DTrace Guide, found at 
14 http://docs.sun.com/db/doc/817-6223.
15
16 Since this uses DTrace, only the root user or users with the
17 dtrace_kernel privilege can run this command.
18 .SH OS
19 Solaris
20 .SH STABILITY
21 stable - needs the mib provider.
22 .SH EXAMPLES
23 .TP
24 Print statistics every second,
25
26 .B icmpstat.d
27 .PP
28 .SH FIELDS
29 .TP
30 STATISTIC
31 ICMP statistic name
32 .TP
33 VALUE
34 total of statistic during sample
35 .PP
36 .SH DOCUMENTATION
37 See the DTraceToolkit for further documentation under the 
38 Docs directory. The DTraceToolkit docs may include full worked
39 examples with verbose descriptions explaining the output.
40 .SH EXIT
41 icmpstat.d will run forever until Ctrl\-C is hit. 
42 .SH AUTHOR
43 Brendan Gregg
44 [Sydney, Australia]
45 .SH SEE ALSO
46 dtrace(1M)
47