Hallo, if the remote machines allow ssh login, you might try my SSHRemoteController (a combination of ssh and pexpect). Basically, it simulates a user typing something at the console. Then you can conveniently issue commands at the remote machine like "ps ax | grep cmd".
http://www.richert.de/free/sshrc/SSHRemoteController-0.1.tar.bz2 Regards, wr > ======== srinivasan srinivas 2008-08-19 06:47:44 ======== > HI, > I am using Solaris and subprocess.Popen to spawn a process on a remote > machine. Thanks, > Srini > > > > ----- Original Message ---- > From: Diez B. Roggisch <[EMAIL PROTECTED]> > To: python-list@python.org > Sent: Monday, 18 August, 2008 9:23:20 PM > Subject: Re: Getting pid of a remote process > > srinivasan srinivas schrieb: > > Hi, > > Could you please suggest me a way to find pid of a process started on a > > remote machine by the current process?? I should get pid in the current > > process environment. The approach should be somewhat generic. It > > shouldn't expect the remote process to print its pid. > > Without information about > > - the OS you use > > - the technique you use for spawning processes remote > > there is no answer to this. > > Diez > -- > http://mail.python.org/mailman/listinfo/python-list > > > > Unlimited freedom, unlimited storage. Get it now, on > http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ -- > http://mail.python.org/mailman/listinfo/python-list
-- http://mail.python.org/mailman/listinfo/python-list