Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2801
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin3!goblin.stu.neva.ru!newsfeed3.funet.fi!newsfeed2.funet.fi!newsfeeds.funet.fi!news.cc.tut.fi!not-for-mail |
|---|---|
| From | Anssi Saari <as@sci.fi> |
| Newsgroups | comp.lang.python |
| Subject | Re: How to program in Python to run system commands in 1000s of servers |
| Date | Thu, 07 Apr 2011 22:14:17 +0300 |
| Lines | 14 |
| Message-ID | <vg3k4f53md2.fsf@pepper.modeemi.fi> (permalink) |
| References | <0bb6311b-135a-4458-9258-1eca3be3cd31@q12g2000prb.googlegroups.com> <mailman.52.1302022780.9059.python-list@python.org> <roy-564C5B.21242005042011@news.panix.com> <vg3sjtu2tec.fsf@pepper.modeemi.fi> <mailman.110.1302185624.9059.python-list@python.org> |
| NNTP-Posting-Host | pepper.modeemi.fi |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | news.cc.tut.fi 1302203657 2620 2001:708:310:3430:203:baff:fe7d:42dd (7 Apr 2011 19:14:17 GMT) |
| X-Complaints-To | abuse@tut.fi |
| NNTP-Posting-Date | Thu, 7 Apr 2011 19:14:17 +0000 (UTC) |
| User-Agent | Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (usg-unix-v) |
| Cancel-Lock | sha1:ElZVlYuy91LCnEKhrsHCMOCuN5U= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:2801 |
Show key headers only | View raw
Chris Angelico <rosuav@gmail.com> writes: > Depending on what exactly is needed, it might be easier to run a > separate daemon on the computers, one whose sole purpose is to do the > task / get the statistics needed and return them. Then the Python > script need only collect each program's returned response. Those would still need to be deployed somehow to the thousands of machines though. I realized after posting that something like pexpect might work for stuffing the keystrokes needed to root login via ssh to all machines and such... If that's what he needs to do, since it wasn't very clear.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to program in Python to run system commands in 1000s of servers Babu <babukk@gmail.com> - 2011-04-05 07:51 -0700
Re: How to program in Python to run system commands in 1000s of servers geremy condra <debatem1@gmail.com> - 2011-04-05 09:59 -0700
Re: How to program in Python to run system commands in 1000s of servers Roy Smith <roy@panix.com> - 2011-04-05 21:24 -0400
Re: How to program in Python to run system commands in 1000s of servers Anssi Saari <as@sci.fi> - 2011-04-07 14:27 +0300
Re: How to program in Python to run system commands in 1000s of servers Chris Angelico <rosuav@gmail.com> - 2011-04-08 00:13 +1000
Re: How to program in Python to run system commands in 1000s of servers Anssi Saari <as@sci.fi> - 2011-04-07 22:14 +0300
Re: How to program in Python to run system commands in 1000s of servers Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-04-07 22:40 +0200
Re: How to program in Python to run system commands in 1000s of servers Babu <babukk@gmail.com> - 2011-04-10 07:22 -0700
Re: How to program in Python to run system commands in 1000s of servers Chris Angelico <rosuav@gmail.com> - 2011-04-11 00:42 +1000
csiph-web