freebsd-dev/usr.bin/systat
Bruce Evans 8aa22952a9 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
2006-04-30 04:26:46 +00:00
..
cmds.c When we close a display, mark it as not-initialized so that we will 2003-01-04 21:58:25 +00:00
cmdtab.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
convtbl.c Consistently use __inline instead of __inline__ as the former is an empty macro 2004-07-04 16:11:03 +00:00
convtbl.h Fix the easy warnings: 2004-03-09 11:57:28 +00:00
devs.c When a numeric field overflows its width, try formatting the number in 2003-10-20 20:13:50 +00:00
devs.h WARNS=2 fixes with NO_WERROR set, as there are some header issues 2001-12-12 00:13:37 +00:00
extern.h Fix the easy warnings: 2004-03-09 11:57:28 +00:00
fetch.c WARNS=2 fixes with NO_WERROR set, as there are some header issues 2001-12-12 00:13:37 +00:00
icmp6.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
icmp.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
ifcmds.c Fix the easy warnings: 2004-03-09 11:57:28 +00:00
ifstat.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
iostat.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
ip6.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
ip.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
keyboard.c WARNS=2 fixes with NO_WERROR set, as there are some header issues 2001-12-12 00:13:37 +00:00
main.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
Makefile Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
mbufs.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
mode.c WARNS=2 fixes with NO_WERROR set, as there are some header issues 2001-12-12 00:13:37 +00:00
mode.h WARNS=2 fixes with NO_WERROR set, as there are some header issues 2001-12-12 00:13:37 +00:00
netcmds.c remove __P 2002-03-22 01:42:45 +00:00
netstat.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
pigs.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
swap.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
systat.1 Abbreviate long field descriptors at write time so that they don't get 2006-04-29 21:30:23 +00:00
systat.h Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
tcp.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
vmstat.c Edit the interrupt name strings to shorten them. This is believed to 2006-04-30 01:39:46 +00:00