lsof equvalent in solaris 5.8

Hi,

I'm trying to find out the which process is using port no 8010

If i do a ps -ef, then it displays all the ports, if i do a netstat then i get the open port, Since these two doesn't have anything in common, I cannot relate both.

(If PID was there in netstat, it would have been easy)

In solaris 5.9 , its easy.

lsof can help.

Please help,

Regards,

Sylvester,

[419 byte] By [framedrelaya] at [2007-11-27 9:53:46]
# 1
hmmmm - ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/lsof-4.77-sol8-sparc-local.gztry that - jeff
jeffrey.sa at 2007-7-13 0:23:06 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
btw, you can always use /usr/proc/bin commands, but since lsof is available for 5.8, go the easy route - jeff
jeffrey.sa at 2007-7-13 0:23:06 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...