Re: check whether a process is still running on remote hosts

2018-10-17 Thread tina_zy_qian--- via Python-list
On Tuesday, October 16, 2018 at 2:14:26 PM UTC-7, tina_z...@yahoo.com wrote: > I newly learned Python, and I need to wrap up a script to do following. > > Env: > 1: One launcher Linux VM (from where to run the Python script) > 2. 100+ Linux VM > > requirement: > In general, run a remote_script on

Re: check whether a process is still running on remote hosts

2018-10-16 Thread Cameron Simpson
On 16Oct2018 14:14, tina_zy_q...@yahoo.com wrote: I newly learned Python, and I need to wrap up a script to do following. Env: 1: One launcher Linux VM (from where to run the Python script) 2. 100+ Linux VM requirement: In general, run a remote_script on remote 100 VMs and get the log files g

Re: check whether a process is still running on remote hosts

2018-10-16 Thread Chris Angelico
On Wed, Oct 17, 2018 at 10:11 AM tina_zy_qian--- via Python-list wrote: > > On Tuesday, October 16, 2018 at 2:22:29 PM UTC-7, larry@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 relat

Re: check whether a process is still running on remote hosts

2018-10-16 Thread tina_zy_qian--- via Python-list
On Tuesday, October 16, 2018 at 2:22:29 PM UTC-7, larry@gmail.com wrote: > On Tue, Oct 16, 2018 at 5:15 PM tina_zy_qian--- via Python-list > wrote: > > > > I newly learned Python, and I need to wrap up a script to do following. > > > > Env: > > 1: One launcher Linux VM (from where to run the P

Re: check whether a process is still running on remote hosts

2018-10-16 Thread Larry Martell
On Tue, Oct 16, 2018 at 5:15 PM tina_zy_qian--- via Python-list wrote: > > I newly learned Python, and I need to wrap up a script to do following. > > Env: > 1: One launcher Linux VM (from where to run the Python script) > 2. 100+ Linux VM > > requirement: > In general, run a remote_script on remo

check whether a process is still running on remote hosts

2018-10-16 Thread tina_zy_qian--- via Python-list
I newly learned Python, and I need to wrap up a script to do following. Env: 1: One launcher Linux VM (from where to run the Python script) 2. 100+ Linux VM requirement: In general, run a remote_script on remote 100 VMs and get the log files generated to remote hosts back to launcher. steps 1.