I have a process that opens multiple tcp connections to multiple browsers on separate ports.
Using netsat, the output looks something like this:
tcp 0 0 server1.something:myprog client1.something:49987 ESTABLISHED tcp 0 0 server1.something:myprog client1.something:65987 ESTABLISHED tcp 0 0 server1.something:myprog client1.something:89987 ESTABLISHED
Now I would like to kill exactly one of the compounds? How can I do it? (Since killing the process will destroy all connections)
source share