View topic - How to retrieve PID of process listening on a specific port?

Page 1 of 1

How to retrieve PID of process listening on a specific port?

PostPosted: Fri Mar 02, 2007 7:49 am
by limcy
I need to know the process id listening on a specific port.
Is there any tool in QNX that I can use to get the information?

Thank you.

Re: How to retrieve PID of process listening on a specific p

PostPosted: Mon Mar 05, 2007 1:58 pm
by seanb
limcy <limcy@infolink.co-dot-id.no-spam.invalid> wrote:
I need to know the process id listening on a specific port.
Is there any tool in QNX that I can use to get the information?

Thank you.


Parse the output of 'sin fd'. Run it as root
if you want info on all processes.

Regards,

-seanb