Print this page
XXXX adding PID information to netstat output

*** 1,16 **** '\" te .\" Copyright (C) 2002, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. ! .TH NETSTAT 1M "Sep 02, 2015" .SH NAME netstat \- show network status .SH SYNOPSIS .LP .nf ! \fBnetstat\fR [\fB-anvR\fR] [\fB-f\fR \fIaddress_family\fR] [\fB-P\fR \fIprotocol\fR] .fi .LP .nf \fBnetstat\fR \fB-g\fR [\fB-nv\fR] [\fB-f\fR \fIaddress_family\fR] --- 1,16 ---- '\" te .\" Copyright (C) 2002, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. ! .TH NETSTAT 1M "Jul 12, 2016" .SH NAME netstat \- show network status .SH SYNOPSIS .LP .nf ! \fBnetstat\fR [\fB-anuvR\fR] [\fB-f\fR \fIaddress_family\fR] [\fB-P\fR \fIprotocol\fR] .fi .LP .nf \fBnetstat\fR \fB-g\fR [\fB-nv\fR] [\fB-f\fR \fIaddress_family\fR]
*** 337,346 **** --- 337,359 ---- .RE .sp .ne 2 .na + \fB\fB-u\fR\fR + .ad + .sp .6 + .RS 4n + When specified, for each network endpoint \fBnetstat\fR will print the list of + the processes currently have an open file descriptor pointing to that endpoint. + \fBnetstat\fR will list the username, process id, and the program for each + process in that list. + .RE + + .sp + .ne 2 + .na \fB\fB-v\fR\fR .ad .sp .6 .RS 4n Verbose. Show additional information for the sockets, STREAMS memory