srinivasan srinivas schrieb:
On UNIX-like OS:
If you start the process in the background, you can
get the PID with:
<myhost>:~ssh <remotehost'l s -l & echo PID=$!' | grep PID
PID=30596
<myhost>:~>
see:
man bash
-Special Parameters
Grüessli
--
Kurt Müller, mu@problemlos.c h
Thanks a lot.
But i am wondeing will it return correct pid if more than one instance of <scriptnameru n on the remote machine??
Thanks,
Srini
But i am wondeing will it return correct pid if more than one instance of <scriptnameru n on the remote machine??
Thanks,
Srini
If you start the process in the background, you can
get the PID with:
<myhost>:~ssh <remotehost'l s -l & echo PID=$!' | grep PID
PID=30596
<myhost>:~>
see:
man bash
-Special Parameters
Grüessli
--
Kurt Müller, mu@problemlos.c h