Print this page
XXXX adding PID information to netstat output

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/netstat.1m.man.txt
          +++ new/usr/src/man/man1m/netstat.1m.man.txt
   1    1  NETSTAT(1M)                  Maintenance Commands                  NETSTAT(1M)
   2    2  
   3    3  
   4    4  
   5    5  NAME
   6    6         netstat - show network status
   7    7  
   8    8  SYNOPSIS
   9      -       netstat [-anvR] [-f address_family] [-P protocol]
        9 +       netstat [-anuvR] [-f address_family] [-P protocol]
  10   10  
  11   11  
  12   12         netstat -g [-nv] [-f address_family]
  13   13  
  14   14  
  15   15         netstat -p [-n] [-f address_family]
  16   16  
  17   17  
  18   18         netstat -s [-f address_family] [-P protocol]
  19   19              [-T u | d ] [interval [count]]
↓ open down ↓ 179 lines elided ↑ open up ↑
 199  199  
 200  200         -T u | d
 201  201  
 202  202             Display a time stamp.
 203  203  
 204  204             Specify u for a printed representation of the internal
 205  205             representation of time. See time(2). Specify d for standard date
 206  206             format. See date(1).
 207  207  
 208  208  
      209 +       -u
      210 +
      211 +           When specified, for each network endpoint netstat will print the
      212 +           list of the processes currently have an open file descriptor
      213 +           pointing to that endpoint.  netstat will list the username, process
      214 +           id, and the program for each process in that list.
      215 +
      216 +
 209  217         -v
 210  218  
 211  219             Verbose. Show additional information for the sockets, STREAMS
 212  220             memory statistics, routing table, and multicast group memberships.
 213  221  
 214  222  
 215  223         -I interface
 216  224  
 217  225             Show the state of a particular interface. interface can be any
 218  226             valid interface such as hme0 or eri0. Normally, the status and
↓ open down ↓ 439 lines elided ↑ open up ↑
 658  666         Previous versions of netstat had undocumented methods for reporting
 659  667         kernel statistics published using the kstat(7D) facility. This
 660  668         functionality has been removed. Use kstat(1M) instead.
 661  669  
 662  670         netstat restricts its output to information that is relevant to the
 663  671         zone in which netstat runs. (This is true for both shared-IP and
 664  672         exclusive-IP zones.)
 665  673  
 666  674  
 667  675  
 668      -                               September 2, 2015                   NETSTAT(1M)
      676 +                                 July 12, 2016                     NETSTAT(1M)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX