From owner-freebsd-commit Wed Feb 28 23:45:15 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA15133 for freebsd-commit-outgoing; Wed, 28 Feb 1996 23:45:15 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA15033 for cvs-all-outgoing; Wed, 28 Feb 1996 23:44:57 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA14935 Wed, 28 Feb 1996 23:44:41 -0800 (PST) Date: Wed, 28 Feb 1996 23:44:41 -0800 (PST) From: David Greenman Message-Id: <199602290744.XAA14935@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/netstat if.c netstat.1 Sender: owner-commit@FreeBSD.ORG Precedence: bulk davidg 96/02/28 23:44:40 Modified: usr.bin/netstat if.c netstat.1 Log: Make the -w option actually useful to people. Instead of it creating a messy 130 column collage, output the system totals -or- info for a specific interface if -I is given. Also wait for before outputting the first sample so that it represents meaningful data (as opposed to the total since the system was booted - most busy systems wrap around many times during their operation, so these numbers are only misleading). Revision Changes Path 1.11 +75 -88 src/usr.bin/netstat/if.c 1.6 +4 -9 src/usr.bin/netstat/netstat.1