[wplug] perl help

John Harrold jmh17 at pitt.edu
Sun Feb 15 12:30:58 EST 2004


Sometime in February Ryan W. Frenz assaulted the keyboard and produced:

| OK, now (probably) a tougher problem.  How can I get the script to 
| collect the PID of the process launched through ssh?  What I mean is, if 
| my perl script executes 'ssh <machine> <command>', I want to then know 
| what the process ID of <command> is on <machine>.  Is this even possible?

how exactly are you executing the program? are you using the backtics `?

-- 
--------------------------------------------------------------------------
                                               | /"\
 john harrold                                  | \ / ASCII ribbon campaign
      jmh at member.fsf.org                    |  X  against HTML mail
           the most useful idiot               | / \
--------------------------------------------------------------------------
 What difference does it make to the dead, the orphans, and the homeless,
 whether the mad destruction is brought under the name of totalitarianism or
 the holy name of liberty and democracy?
 --Gandhi
--------------------------------------------------------------------------
gpg --keyserver keys.indymedia.org --recv-key F65A739E
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20040215/b2af9567/attachment-0001.bin


More information about the wplug mailing list