Operating System - HP-UX
1847799 Members
3870 Online
104021 Solutions
New Discussion

Re: network ports opened by process

 
Mallinath_2
Occasional Contributor

network ports opened by process

HI All,
Is this possible to check from the command line, ports opened by a specific process. Since netstat will not give the process name in its output.

Thanks
Mallinath
1 REPLY 1
T G Manikandan
Honored Contributor

Re: network ports opened by process

lsof can do that .

Get the lsof for 64bit from here

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

Then do a
#lsof -i tcp: