From e27b2d276572a16bef80b9b49a7ae4605766d6a4 Mon Sep 17 00:00:00 2001 From: Maxim Konovalov Date: Mon, 14 Mar 2005 12:15:43 +0000 Subject: [PATCH] o Replace OpenBSD-specific example by FreeBSD's one. Noticed by: Daniel O'Connor --- usr.sbin/tcpdrop/tcpdrop.8 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/tcpdrop/tcpdrop.8 b/usr.sbin/tcpdrop/tcpdrop.8 index a77c1d3f85e7..c3e8d12f58b4 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