summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdrop
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2005-03-14 12:15:43 +0000
committermaxim <maxim@FreeBSD.org>2005-03-14 12:15:43 +0000
commitef5157382eecc37ed6dc3bb3fe32d8f69641baec (patch)
tree5a12fc7a526ffbea024b5ab2a905ad2a36f43996 /usr.sbin/tcpdrop
parent6c1fea3e9f6ef3bf338494a067664bcfc1ee58e2 (diff)
downloadFreeBSD-src-ef5157382eecc37ed6dc3bb3fe32d8f69641baec.zip
FreeBSD-src-ef5157382eecc37ed6dc3bb3fe32d8f69641baec.tar.gz
o Replace OpenBSD-specific example by FreeBSD's one.
Noticed by: Daniel O'Connor
Diffstat (limited to 'usr.sbin/tcpdrop')
-rw-r--r--usr.sbin/tcpdrop/tcpdrop.88
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/tcpdrop/tcpdrop.8 b/usr.sbin/tcpdrop/tcpdrop.8
index a77c1d3..c3e8d12 100644
--- a/usr.sbin/tcpdrop/tcpdrop.8
+++ b/usr.sbin/tcpdrop/tcpdrop.8
@@ -48,9 +48,9 @@ If a connection to
is causing congestion on a network link, one can drop the TCP session
in charge:
.Bd -literal -offset indent
-# fstat | egrep 'httpd.*internet.*<--'
-www httpd 21307 3* internet stream tcp \e
- 0xd1007ca8 192.168.5.41:80 <-- 192.168.5.1:26747
+# sockstat | grep '.*httpd.*[0-9]$'
+www httpd 16525 3 tcp4 \e
+ 192.168.5.41:80 192.168.5.1:26747
.Ed
.Pp
The following command will drop the connection:
@@ -58,7 +58,7 @@ The following command will drop the connection:
# tcpdrop 192.168.5.41 80 192.168.5.1 26747
.Ed
.Sh SEE ALSO
-.Xr fstat 1 ,
+.Xr sockstat 1 ,
.Xr netstat 1
.Sh AUTHORS
.An Markus Friedl Aq markus@openbsd.org
OpenPOWER on IntegriCloud