cvs commit: src/usr.bin/systat cmdtab.c icmp.c icmp6.c ifstat.c iostat.c ip.c ip6.c main.c mbufs.c netstat.c pigs.c swap.c systat.h tcp.c

Bruce Evans bde at FreeBSD.org
Sun Apr 30 04:26:47 UTC 2006


bde         2006-04-30 04:26:46 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/systat       cmdtab.c icmp.c icmp6.c ifstat.c iostat.c 
                         ip.c ip6.c main.c mbufs.c netstat.c 
                         pigs.c swap.c systat.h tcp.c 
  Log:
  Show the load average in the tcp display (it was already shown, perhaps
  not very usefully, in all other displays).  This was the original point
  of the PR.
  
  Move the load average up by 2 so that it starts in row 0 for all windows
  (2 lines above it were wasted for all other windows except vmstat).
  Move everything below it up by 2 or 3 (3 for icmp and icmp6 which had
  an extra blank line due from not compensating for the foot-shooting in
  note (3); only ip and ip6 compensated).  Reduce the magic numbers related
  to this.
  
  Notes by the submitter:
  %%%
  1. All the subwin() calls are identical using #define MAINWIN_ROW 3
      (systat.h).
  2. The load average is at the top of the window.
  3. Each display starts on the fourth line.  I made changes to those
      displays that shifted the start line (i.e., icmp).  This entailed a
      lot of changes within the comments at the top of those displays.
  4. For ip6, I shifted the "Input next-header histogram" column down one
      row to separate it from "IPv6 Output".  I raised "bad scope packets"
      and "address selection failed" up one row to stay with "IPv6 Input"
      (valid?).  They were down one row to probably line up at the bottom,
      but I think they should stick with their fellow items in a column.
  5. I condensed ifstat a bit.  It had a lot of empty rows.
  %%%
  
  Submitted by:   Se=E1n Farley <sean-freebsd at farley dot org>
  PR:             bin/81874
  
  Revision  Changes    Path
  1.10      +1 -1      src/usr.bin/systat/cmdtab.c
  1.4       +55 -55    src/usr.bin/systat/icmp.c
  1.2       +55 -55    src/usr.bin/systat/icmp6.c
  1.3       +5 -5      src/usr.bin/systat/ifstat.c
  1.22      +1 -1      src/usr.bin/systat/iostat.c
  1.6       +73 -73    src/usr.bin/systat/ip.c
  1.2       +65 -63    src/usr.bin/systat/ip6.c
  1.19      +3 -3      src/usr.bin/systat/main.c
  1.19      +1 -1      src/usr.bin/systat/mbufs.c
  1.24      +1 -1      src/usr.bin/systat/netstat.c
  1.21      +1 -1      src/usr.bin/systat/pigs.c
  1.22      +1 -1      src/usr.bin/systat/swap.c
  1.7       +2 -0      src/usr.bin/systat/systat.h
  1.10      +61 -61    src/usr.bin/systat/tcp.c


More information about the cvs-src mailing list