Thanks for your reply.

Chris Davies wrote:
Jerome BENOIT <jgmben...@mailsnare.net> wrote:
how can we trace the port effectively open/close by an executable ?

This isn't clear. What are you trying to achieve?

If it's to see which ports a program has opened,

exactly

you could try
strace {program}.

I thought about it too, but I expected something more specialized.
The next question is certainly how to grep it ?

Jerome

Otherwise (as root) netstat -nap.

Chris



--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to