[IPython-dev] taskclient engineid

Brian Granger ellisonbg at gmail.com
Thu Jun 24 13:52:33 EDT 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 at 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 at 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 at calpoly.edu
ellisonbg at gmail.com



More information about the IPython-dev mailing list