System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to find the port number wise process details

rajesh73
Super Advisor

how to find the port number wise process details

how to find the port number wise process details.
4 REPLIES
Bijeesh
Respected Contributor

Re: how to find the port number wise process details

Hi,
You can use lsof to find the process using the port no.
If lsof is not installed in your system,you can download it from,

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.84/
sarfaraj ahmad
Trusted Contributor

Re: how to find the port number wise process details

Hi,

have you tried with netstat command.
please check man page for other switches you can use with this command for different types of output & result.
Kranti Mahmud
Honored Contributor

Re: how to find the port number wise process details

Hi rajesh,

try lsof, I think the best option for your issue. lsof does not come with the HP-UX operating system. You can, however, download and install it from here:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.71/

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
singh sanjeev
Trusted Contributor

Re: how to find the port number wise process details

netstat /lsof are the option yuo can check for the port

refer man page of netstat
Sanjeev Singh