]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/tcptop_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / tcptop_example.txt
1 The following is a demonstration of the tcptop command,
2
3
4 tcptop will display info on newly established TCP connections,
5
6    # tcptop -C 10
7    Tracing... Please wait.
8    2005 Jul  5 04:55:25,  load: 1.11,  TCPin:      2 KB,  TCPout:    110 KB
9    
10     UID    PID LADDR           LPORT FADDR           FPORT      SIZE NAME
11     100  20876 192.168.1.5     36396 192.168.1.1        79      1160 finger
12     100  20875 192.168.1.5     36395 192.168.1.1        79      1160 finger
13     100  20878 192.168.1.5     36397 192.168.1.1        23      1303 telnet
14     100  20877 192.168.1.5       859 192.168.1.1       514    115712 rcp
15    
16    2005 Jul  5 04:55:35,  load: 1.10,  TCPin:      0 KB,  TCPout:      0 KB
17    
18     UID    PID LADDR           LPORT FADDR           FPORT      SIZE NAME
19       0    242 192.168.1.5        79 192.168.1.1     54220       272 inetd
20       0  20879 192.168.1.5        79 192.168.1.1     54220       714 in.fingerd
21    
22    [...]
23
24
25 In the above output, we run it with a 10 second interval and with -C so
26 that the screen does not clear. Some traffic was captured, around 110 Kbytes
27 by the rcp process (PID 20877), etc.
28