Telnet

Is there a way to determine if an .exe file was started by a remote telnet
user or a local user? What I want to find out is the IP address of the user
that started the .exe file.


In soloaris Unix they suggested lsof in a wrapper function. (inside the
user/local/bin) QNX doesn’t have a version of lsof or the /usr/local/bin
dir.

Any suggestions? Thanks in Advance!