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

bridged with qnx.public.sysadmin
Post Reply
limcy

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

Post by limcy » Fri Mar 02, 2007 7:58 am

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.

Sean Boudreau

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

Post by Sean Boudreau » Mon Mar 05, 2007 1:58 pm

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

Post Reply

Return to “qnx.public.sysadmin”