]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/connections.1m
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / connections.1m
1 .TH connections 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 connections \- print inbound TCP connections by process. Uses DTrace.
4 .SH SYNOPSIS
5 .B connections
6 [\-htvZ]
7 .SH DESCRIPTION
8 This displays the PID and command name of the processes accepting
9 connections, along with the source IP address and destination port number
10
11 Since this uses DTrace, only the root user or users with the
12 dtrace_kernel privilege can run this command.
13 .SH OS
14 Solaris
15 .SH STABILITY
16 unstable - this script uses fbt provider probes which may change for
17 future updates of the OS, invalidating this script. Please read
18 Docs/Notes/ALLfbt_notes.txt for further details about these fbt scripts.
19 .SH OPTIONS
20 .TP
21 \-t
22 print timestamps, us
23 .TP
24 \-v
25 print timestamps, string
26 .TP
27 \-Z
28 print zonename
29 .PP
30 .SH EXAMPLES
31 .TP
32 snoop inbound connections
33
34 .B connections
35 .TP
36 snoop connections with time
37 #
38 .B connections
39 \-v
40 .PP
41 .SH FIELDS
42 .TP
43 UID
44 user ID of the server
45 .TP
46 PID
47 process ID of the server
48 .TP
49 CMD
50 server command name
51 .TP
52 TIME
53 timestamp, us
54 .TP
55 TIMESTR
56 timestamp, string
57 .TP
58 PORT
59 server port
60 .TP
61 IP_SOURCE
62 source IP of the client, written in IPv4 style
63 .TP
64 ZONE
65 zonename
66 .PP
67 .SH DOCUMENTATION
68 See the DTraceToolkit for further documentation under the 
69 Docs directory. The DTraceToolkit docs may include full worked
70 examples with verbose descriptions explaining the output.
71 .SH EXIT
72 connections will run until Ctrl\-C is hit.
73 .SH AUTHOR
74 Brendan Gregg
75 [Sydney, Australia]
76 .SH SEE ALSO
77 dtrace(1M), snoop(1M)