Print this page
XXXX adding PID information to netstat output

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/Kstat.xs
          +++ new/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/Kstat.xs
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55   * qlc:*:statistics
  56   56   * This is a third-party driver for which we don't have source.
  57   57   *
  58   58   * mm:*:phys_installed
  59   59   * This is stored as an array of uint64_t, with each pair of values being the
  60   60   * (address, size) of a memory segment.  The ks_ndata and ks_data_size fields
  61   61   * are both zero.
  62   62   *
  63   63   * sockfs:*:sock_unix_list
  64   64   * This is stored as an array with one entry per active socket.  Each element
  65      - * is of type struct k_sockinfo.  The ks_ndata and ks_data_size fields are both
  66      - * zero.
       65 + * is of type struct sockinfo.  ks_ndata s the number of elements of that array
       66 + * and ks_data_size is the total size of the array.
  67   67   *
  68   68   * Note that the ks_ndata and ks_data_size of many non-array raw kstats are
  69   69   * also incorrect.  The relevant assertions are therefore commented out in the
  70   70   * appropriate raw kstat read routines.
  71   71   */
  72   72  
  73   73  /* Kstat related includes */
  74   74  #include <libgen.h>
  75   75  #include <kstat.h>
  76   76  #include <sys/var.h>
↓ open down ↓ 1613 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX