require alternate command for lsof

Using lsof command i can find out which process-id is associated with the port.

lsof -i :51000

. But as part of process i cant have lsof in the server.

I am using sun solaris 8 and only kshell. Is there a way to find out which process is using the above port. as of now i am gettn port conflict. need to find out the process ?

Check the manual for "pfiles" on solaris. It is similar, though no where near as 'nice' as lsof. The entry for ports in use are something like:

   3: S_IFSOCK mode:0666 dev:254,0 ino:19124 uid:0 gid:0 size:0
      O_RDWR
        sockname: AF_INET 10.1.2.3  port: 80