Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 06:41:16 -0500
From:      Bob Martin <bob@buckhorn.net>
To:        Jan Knepper <jan@digitaldaemon.com>
Cc:        FreeBSD Questions <FreeBSD-Questions@FreeBSD.org>, FreeBSD ISP <FreeBSD-ISP@FreeBSD.org>
Subject:   Re: Killing TCP/IP connection.
Message-ID:  <3B7D02DC.546A2E50@buckhorn.net>
References:  <3B7CC92A.6020801@digitaldaemon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Knepper wrote:
> 
> Hi, is there a way to force and end to a TCP/IP connection that shows
> with netstat -na ?
> Something like kill -HUP or -kill -TERM, but then on a socket? <g>
> 
> Thanks!
> Jan
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
Use sockstat -4. It will give you the PID of the offending connection.
Then you can kill it.

Bob Martin
-- 
But in our enthusiasm, we could not resist a radical overhaul of the
system, in which all of its major weaknesses have been exposed,
analyzed, and replaced with new weaknesses.
    -- Bruce Leverett, "Register Allocation in Optimizing Compilers"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B7D02DC.546A2E50>