Print this page
XXXX adding PID information to netstat output

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/netstat.1m
          +++ new/usr/src/man/man1m/netstat.1m
   1    1  '\" te
   2    2  .\" Copyright (C) 2002, Sun Microsystems, Inc. All Rights Reserved
   3    3  .\" Copyright 1989 AT&T
   4    4  .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
   5      -.TH NETSTAT 1M "Sep 02, 2015"
        5 +.TH NETSTAT 1M "Jul 12, 2016"
   6    6  .SH NAME
   7    7  netstat \- show network status
   8    8  .SH SYNOPSIS
   9    9  .LP
  10   10  .nf
  11      -\fBnetstat\fR [\fB-anvR\fR] [\fB-f\fR \fIaddress_family\fR] [\fB-P\fR \fIprotocol\fR]
       11 +\fBnetstat\fR [\fB-anuvR\fR] [\fB-f\fR \fIaddress_family\fR] [\fB-P\fR \fIprotocol\fR]
  12   12  .fi
  13   13  
  14   14  .LP
  15   15  .nf
  16   16  \fBnetstat\fR \fB-g\fR [\fB-nv\fR] [\fB-f\fR \fIaddress_family\fR]
  17   17  .fi
  18   18  
  19   19  .LP
  20   20  .nf
  21   21  \fBnetstat\fR \fB-p\fR [\fB-n\fR] [\fB-f\fR \fIaddress_family\fR]
↓ open down ↓ 305 lines elided ↑ open up ↑
 327  327  .na
 328  328  \fB\fB-T\fR \fBu\fR | \fBd\fR\fR
 329  329  .ad
 330  330  .sp .6
 331  331  .RS 4n
 332  332  Display a time stamp.
 333  333  .sp
 334  334  Specify \fBu\fR for a printed representation of the internal representation of
 335  335  time. See \fBtime\fR(2). Specify \fBd\fR for standard date format. See
 336  336  \fBdate\fR(1).
      337 +.RE
      338 +
      339 +.sp
      340 +.ne 2
      341 +.na
      342 +\fB\fB-u\fR\fR
      343 +.ad
      344 +.sp .6
      345 +.RS 4n
      346 +When specified, for each network endpoint \fBnetstat\fR will print the list of
      347 +the processes currently have an open file descriptor pointing to that endpoint.
      348 +\fBnetstat\fR will list the username, process id, and the program for each
      349 +process in that list.
 337  350  .RE
 338  351  
 339  352  .sp
 340  353  .ne 2
 341  354  .na
 342  355  \fB\fB-v\fR\fR
 343  356  .ad
 344  357  .sp .6
 345  358  .RS 4n
 346  359  Verbose. Show additional information for the sockets, STREAMS memory
↓ open down ↓ 724 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX