Newsgroups: comp.parallel.pvm
From: "Dr A.C. Marshall" <adamm>
Subject: Re: How to tell what machine process is running on??
Organization: The University of Liverpool
Date: Tue, 21 May 1996 14:39:27 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <DrrFDs.Aqs@liverpool.ac.uk>

hmillwater@swri.edu (Harry Millwater) wrote:
>Hello PVM gurus.  I am a novice pvm programmer.  What I want to know is
>after I spawn some tasks and have their tids, how can I tell what
>machine a task is running on?  I need this information because I want
>to do different things with directories, files, etc. depending on which
>machine the job is on.  I see there is a pvmftidtohost command that
>returns the host id on which the specified task is running.  How do I
>use that dtid value?  Do I compare it with the unix process number for
>pvmd?  That sounds very cumbersome.
>
>Thanks for your help.
>Harry Millwater
>hmillwater@swri.edu

Don't you type "ps" at the pvm console prompt?


