To get PID of a command passed to a secondary system

Hi

Reqmt: I am working on Sys 1 and passes a command to Sys2 using a utility which has ssh coded in it. Is there any way to get the process id of the command in Sys 2 from my Sys1 ? Note: The utility is not editable, so you cannot get it through it and I am not logged in in Sys2.

Thanks
Regards
Anu

If you can't get into the utility used to spawn the process remotely, and you can't connect to the remote sysetm, then no, you can't get the PID on the remote system sorry (unless the utility has an option to return this PID).

Hey! Thank you for that ya.....I was thinking if we could get the codebase of the ssh or any other utility connecting to remote system and extract the PIDs through that.Can anyone send me the link where I can get those codes of utilities in UNIX.

The Utility which I used in shell is the OSC client which connects to servers and get the details.

Regards
Anu