1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/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
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
devs.h
extern.h Fix the easy warnings: 2004-03-09 11:57:28 +00:00
fetch.c
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
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
mode.h
netcmds.c
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