|
NAMEicmpstat.d - print ICMP statistics. Uses DTrace. SYNOPSISicmpstat.d DESCRIPTIONicmpstat.d is a DTrace program to print ICMP statistics every second, retrieved from the MIB provider. This is a simple script to demonstrate the ability to trace ICMP events. The ICMP statistics are documented in the mib2_icmp struct in /usr/include/inet/mib2.h; and also in the mib provider chapter of the DTrace Guide, found at http://docs.sun.com/db/doc/817-6223. Since this uses DTrace, only the root user or users with the dtrace_kernel privilege can run this command. OSSolaris STABILITYstable - needs the mib provider. EXAMPLES
DOCUMENTATIONSee the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output. EXITicmpstat.d will run forever until Ctrl-C is hit. AUTHORBrendan Gregg [Sydney, Australia] SEE ALSOdtrace(1M)
|