Re: Kill TCP session
- From: "Rahan" <Rahan@xxxxxxxxxxxxxxxxx>
- Date: Mon, 31 Jul 2006 16:18:27 +0200
Thank You Brian for your answer.
I use lsof to print connexion, pid and process name but i don't think that
it provides options to kill session.
I will check again.
Thanks a lot
Best Regards
Rahan
"Brian Mac" <mcnamarabrian@xxxxxxxxx> a écrit dans le message de
news:1154344476.033799.252300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Rahan,
Check out a utility called lsof - to the best of my knowledge it isn't
included with Solaris. It will list open files, including network
connections. The difference between it and netstat is that lsof will
list the PID . Here is a helpful (albeit brief) page that shows what
can be done with lsof:
http://www.akadia.com/services/lsof_intro.html
In your case, you could run something like:
lsof -iTCP@HostnameOrIPAddress:PortNumber
Thanks!
Brian
rahan wrote:
Hi,
kill is used to kill process.
How it's possible to kill a tcp session btw client and solaris server
without killing process ?
So, i have some tcp connexion to the application running on my solaris
server, and i need to know how it's possible to kill session btw one
client and my server.
Thank You very much for your help
Best Regards
Rahan
.
- References:
- Kill TCP session
- From: rahan
- Re: Kill TCP session
- From: Brian Mac
- Kill TCP session
- Prev by Date: Orcallator segfault on Solaris 10, SAN volumes
- Next by Date: Re: Kill TCP session
- Previous by thread: Re: Kill TCP session
- Next by thread: Re: Kill TCP session
- Index(es):
Relevant Pages
|