Re: Finding a port hog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dr. David Alan Gilbert wrote:
* David Stevens (dlstevens@xxxxxxxxxx) wrote:
A program called "lsof".

lsof wouldn't help me after the processes have exited and just left the
ports in timewait would it?  In these cases I was seeing a storm of
port creation by what turned out to be processes that ran for a
fraction of a second.  I don't think lsof would have helped me there.

Dave
Another way I just used is to setup an iptable rule that DROPs the tcp
outgoing SYN packet. So it will somewhat block the app that want to
initiate the connection, and you'll be able to find it using lsof ;-)

Cyprien

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux