summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.1
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-10-12 02:37:35 +0000
committerdg <dg@FreeBSD.org>1994-10-12 02:37:35 +0000
commitec62e724b8eecbb45b5b63e1fa140326e65d35c3 (patch)
treee94d6d5f55ebb3a4e703c96fd221078d5730be6e /usr.bin/netstat/netstat.1
parentbdd76ad243b9f88ad1b56b11f205255f509573f6 (diff)
downloadFreeBSD-src-ec62e724b8eecbb45b5b63e1fa140326e65d35c3.zip
FreeBSD-src-ec62e724b8eecbb45b5b63e1fa140326e65d35c3.tar.gz
Added '-b' option to display the number of in and out bytes on a given
interface (used with -i and -I flag).
Diffstat (limited to 'usr.bin/netstat/netstat.1')
-rw-r--r--usr.bin/netstat/netstat.19
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index bf9d60e..9d58382 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -44,12 +44,12 @@
.Op Fl M Ar core
.Op Fl N Ar system
.Nm netstat
-.Op Fl dghimnrs
+.Op Fl bdghimnrs
.Op Fl f Ar address_family
.Op Fl M Ar core
.Op Fl N Ar system
.Nm netstat
-.Op Fl dn
+.Op Fl bdn
.Op Fl I Ar interface
.Op Fl M Ar core
.Op Fl N Ar system
@@ -87,6 +87,11 @@ for debugging.
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
+.Fl i
+or an interval, as described below),
+show the number of bytes in and out.
.It Fl d
With either interface display (option
.Fl i
OpenPOWER on IntegriCloud