connections.1m   [plain text]


.TH connections 1m  "Jun 17, 2005" "version 0.80" "USER COMMANDS"
.SH NAME
connections \- print inbound TCP connections by process. Uses DTrace.
.SH SYNOPSIS
.B connections
[\-htvZ]
.SH DESCRIPTION
This displays the PID and command name of the processes accepting
connections, along with the source IP address and destination port number

Since this uses DTrace, only the root user or users with the
dtrace_kernel privilege can run this command.
.SH OPTIONS
.TP
\-t
print timestamps, us
.TP
\-v
print timestamps, string
.TP
\-Z
print zonename
.PP
.SH EXAMPLES
.TP
snoop inbound connections
# 
.B connections
.TP
snoop connections with time
#
.B connections
\-v
.PP
.SH FIELDS
.TP
UID
user ID of the server
.TP
PID
process ID of the server
.TP
CMD
server command name
.TP
TIME
timestamp, us
.TP
TIMESTR
timestamp, string
.TP
PORT
server port
.TP
IP_SOURCE
source IP of the client, written in IPv4 style
.TP
ZONE
zonename
.PP
.SH DOCUMENTATION
See the DTraceToolkit for further documentation under the 
Docs directory. The DTraceToolkit docs may include full worked
examples with verbose descriptions explaining the output.
.SH EXIT
connections will run until Ctrl\-C is hit.
.SH AUTHOR
Brendan Gregg
[Sydney, Australia]
.SH SEE ALSO
dtrace(1M), snoop(1M)