Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to terminate lingering TCP connections?

Status
Not open for further replies.

DarinGowan

Technical User
Jul 15, 2002
8
US
How do I terminate active and lingering TCP connections? I use netstat -tna then grep for a port. I currently have to wait until all connections on my port timeout before I am able to proceed with my actions.

Status include: (fyi only)
LAST_ACK
FIN_WAIT_2

Thank you for your time and attention.

Darin Gowan
 
Pull out the network cable? :)

But seriously.... you would probably need to use pfiles on every process on the system, or lsof (a free third party utility) to find out which processes are using those connections and kill the processes.


Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top