Re: Getting pid of a remote process

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • srinivasan srinivas

    Re: Getting pid of a remote process

    HI,
    I am using Solaris and subprocess.Pope n to spawn a process on a remote machine.
    Thanks,
    Srini



    ----- Original Message ----
    From:Diez B. Roggisch <deets@nospam.w eb.de>
    To: python-list@python.org
    Sent: Monday, 18 August, 2008 9:23:20 PM
    Subject: Re: Getting pid of a remoteprocess

    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
    --




    Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mai...tools-08.html/
  • Diez B. Roggisch

    #2
    Re: Getting pid of a remote process

    srinivasan srinivas schrieb:
    HI,
    I am using Solaris and subprocess.Pope n to spawn a process on a remote machine.
    No, you are *not* doing that. You are maybe using subproces to run SSH
    to spawn a remote process. Why don't you *show* us how you actually do that?

    DIEZ

    Comment

    Working...