From owner-cvs-src@FreeBSD.ORG Sun Apr 30 04:26:47 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6864A16A400; Sun, 30 Apr 2006 04:26:47 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1753543D49; Sun, 30 Apr 2006 04:26:47 +0000 (GMT) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3U4QkJI093226; Sun, 30 Apr 2006 04:26:46 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3U4Qkpv093225; Sun, 30 Apr 2006 04:26:46 GMT (envelope-from bde) Message-Id: <200604300426.k3U4Qkpv093225@repoman.freebsd.org> From: Bruce Evans Date: Sun, 30 Apr 2006 04:26:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Apr 2006 04:26:47 -0000 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 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