I'm running a chat application on my machine called foo - how do I view all connection attempts (failed or successful) for foo?
I have attempted this with
netstat, but I am unsure how to associate these connections with a specific application.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
you can use tcptrack
more info can be found at http://manpages.ubuntu.com/manpages/dapper/man1/tcptrack.1.html
you'll find a detailed description of all connections and eventually select specific app connection