check whether a process is still running on remote hosts

Chris Angelico rosuav at gmail.com
Tue Oct 16 19:21:20 EDT 2018


On Wed, Oct 17, 2018 at 10:11 AM tina_zy_qian--- via Python-list
<python-list at python.org> wrote:
>
> On Tuesday, October 16, 2018 at 2:22:29 PM UTC-7, Larry.... at gmail.com wrote:
> > This looks amazingly similar to a pre interview programming assignment
> > was given once.
>
> Nice to know that. This is my daily work related though. Not interview question from me or to me.

I suggest that you interview Larry for a programming job. Give him
this challenge. Take his code, use it.

http://dilbert.com/strip/2015-08-01

More seriously, though: You will find your task a LOT easier if (1)
you use public key logins rather than passwords, and (2) you break the
problem down into individual parts, each of which can be assessed
separately, and then write each one on its own.

ChrisA



More information about the Python-list mailing list