summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.1
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1996-02-29 07:44:37 +0000
committerdg <dg@FreeBSD.org>1996-02-29 07:44:37 +0000
commitbe0c3a28c5728348ec0ae9fd6224ebc3c9b98471 (patch)
tree2699d5a5a0572a2eb9f485a8e245bde4699850b8 /usr.bin/netstat/netstat.1
parent1dec7bc8c62c5a84a1a6aa5fa2cd0d0e41af3bd0 (diff)
downloadFreeBSD-src-be0c3a28c5728348ec0ae9fd6224ebc3c9b98471.zip
FreeBSD-src-be0c3a28c5728348ec0ae9fd6224ebc3c9b98471.tar.gz
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 <interval> 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).
Diffstat (limited to 'usr.bin/netstat/netstat.1')
-rw-r--r--usr.bin/netstat/netstat.113
1 files changed, 4 insertions, 9 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index e2d1ce4..cb28ffd 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -88,9 +88,9 @@ With the default display,
show the state of all sockets; normally sockets used by
server processes are not shown.
.It Fl b
-With either interface display (option
+With the interface display (option
.Fl i
-or an interval, as described below),
+, as described below),
show the number of bytes in and out.
.It Fl d
With either interface display (option
@@ -261,15 +261,10 @@ interval argument, it displays a running count of statistics related to
network interfaces.
An obsolescent version of this option used a numeric parameter
with no option, and is currently supported for backward compatibility.
-This display consists of a column for the primary interface (the first
-interface found during autoconfiguration) and a column summarizing
-information for all interfaces.
-The primary interface may be replaced with another interface with the
+By default, this display summarizes information for all interfaces.
+Information for a specific interface may be displayed with the
.Fl I
option.
-The first line of each screen of information contains a summary since the
-system was last rebooted. Subsequent lines of output show values
-accumulated over the preceding interval.
.Sh SEE ALSO
.Xr nfsstat 1 ,
.Xr ps 1 ,
OpenPOWER on IntegriCloud