Comments (7)
It's an interesting idea. Could you give a little more detail about why it's
been cumbersome to maintain separate hostlist files? It should be possible to
write a pre-processor that reads a file in the "descriptor" format and outputs
a set of "classic-style" host files. Also, what happens when lines in the file
don't all share the same number of columns? The "descriptor" format for host
files seems interesting but a little complicated.
Original comment by [email protected]
on 1 Mar 2011 at 2:00
from parallel-ssh.
Cumbersomeness is proportional to the number of host classes one has to deal
with. Certainly pre-processing is an option, but it adds one extra step.
Furthermore one has to be careful when cleaning up so as to ensure that a
command is not run on the wrong host (using a stale, derived hostlist). Albeit
rather uncommon to run pssh against many different permutations of hostclasses
it complicates the management overhead even more. Carrying one file around is a
lot easier than dozens.
With current implementation, the behavior around incorrect number of columns is
similar to behavior of pssh when it encounters more than 2 fields on a line in
unpatched version. It prints a message that there was an error parsing a line
and skips it. It is perhaps wise to adjust this behavior for both the patched
and the unpatched version.
The feature is difficult to describe in words but it is rather intuitive.
Perhaps my description is unclear. I would be more than happy to clarify it.
Original comment by [email protected]
on 1 Mar 2011 at 2:30
from parallel-ssh.
Original comment by [email protected]
on 1 Mar 2011 at 3:48
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from parallel-ssh.
I think this feature is redundant and is easy to workaround. All you need is
grep and process subsitution:
pssh -h <(grep -P ".* veg" hostlist)
pssh -h <(grep -P "red .*" hostlist)
Original comment by [email protected]
on 2 Sep 2011 at 11:01
from parallel-ssh.
That's a cool trick. I think we should add something about that to the examples
section of the man page.
Original comment by [email protected]
on 5 Sep 2011 at 2:27
from parallel-ssh.
hi, on Debian i have to use parallel-ssh rather than pssh directly is that
normal?
Original comment by [email protected]
on 9 Feb 2014 at 9:05
from parallel-ssh.
ok got it ... i debian does not use the last version ... i pip install
--upgrade pssh and now it works as :: pssh -Aih bob sudo apt-get update && sudo
apt-get upgrade but does not let me select the machine I want.
Original comment by [email protected]
on 9 Feb 2014 at 9:19
from parallel-ssh.
Related Issues (20)
- API module to enable easier use of PSSH as a library (patch included)
- TypeError when using Input script
- Erorr Code 255
- Not allowing relative paths makes no sense HOT 3
- pslurp can't use rsync HOT 2
- Patch: pass -o SendEnv in a way that is friendly on Mac OS HOT 1
- How to distribute different files to different hosts? HOT 1
- motd being printed only on debian squeeze boxes HOT 4
- SIGINFO handler gives task status HOT 1
- Manpage name problem HOT 1
- Sudo requires allocation of a real pseudoterminal HOT 6
- Installation errors: "setup.py install" HOT 1
- pslurp multiple files HOT 1
- Bandwith limit with pscp (parallel scp) HOT 4
- Summary of failed and successful execution HOT 2
- Teardown code in test classes is never called
- IPv6 host address processing broken
- Allow '-' as an alias for stdin
- cannot parse for more than one -O/-o options; cannot use -i option
- Crash on Archlinux/Python3.4 when asking for password (Includes one line fix) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parallel-ssh.