[IPython-dev] taskclient engineid

Brian Granger ellisonbg@gmail....
Thu Jun 24 12:52:33 CDT 2010


Satra,

I would simply import sys and os in the task, call the relevant
functions with the info you want, and then save the info to a dict
that you return with the task result.

Brian

On Thu, Jun 24, 2010 at 8:20 AM, Satrajit Ghosh <satra@mit.edu> wrote:
> hi all,
>
> is there a way to retrieve which machine a particular engine is running on?
> from the results of a taskclient.get_task_result() i can get the engineid.
> can i use this to get more information about the machine and the enviroment
> that engine is running on?
>
> cheers,
>
> satra
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu
ellisonbg@gmail.com


More information about the IPython-dev mailing list