1 .TH tcpstat.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 tcpstat.d \- print TCP statistics. Uses DTrace.
7 tcpstat.d is a DTrace program to print TCP statistics every second,
8 retrieved from the MIB provider.
10 This program can be used to help identify how utilised the network
11 interfaces may be, as well as TCP transmission errors.
13 The TCP statistics are documented in the mib2_tcp struct
14 in /usr/include/inet/mib2.h; and also in the mib provider
15 chapter of the DTrace Guide, found at
16 http://docs.sun.com/db/doc/817-6223.
18 Since this uses DTrace, only the root user or users with the
19 dtrace_kernel privilege can run this command.
23 stable - needs the mib provider.
26 Print statistics every second,
36 TCP bytes retransmitted
42 TCP bytes received duplicated
45 TCP bytes received out of order
48 See the DTraceToolkit for further documentation under the
49 Docs directory. The DTraceToolkit docs may include full worked
50 examples with verbose descriptions explaining the output.
52 tcpstat.d will run forever until Ctrl\-C is hit.
57 nicstat(1M), dtrace(1M)