Skip navigation.
Home
The QNX Community Portal

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

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

Read-only archive of qnx.public.sysadmin at inn.qnx.com

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

Postby limcy » Fri Mar 02, 2007 7:49 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.
limcy
New Member
 
Posts: 6
Joined: Wed Nov 10, 2004 8:51 am

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

Postby seanb » 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
seanb
QNX Master
 
Posts: 133
Joined: Fri Jul 28, 2006 5:36 pm


Return to qnx.public.sysadmin

Who is online

Users browsing this forum: No registered users and 1 guest