1 .TH icmpstat.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 icmpstat.d \- print ICMP statistics. Uses DTrace.
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.
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.
16 Since this uses DTrace, only the root user or users with the
17 dtrace_kernel privilege can run this command.
21 stable - needs the mib provider.
24 Print statistics every second,
34 total of statistic during sample
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.
41 icmpstat.d will run forever until Ctrl\-C is hit.