Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Looking at the code it looks as if you are running one process in parallel per server. So if you have more server than you have processes, this will not work. Correct?
    – Ole Tange
    Commented Sep 25, 2020 at 21:22
  • Do you mean the number of servers exceeds the number of system process limit? In that circumstance, the scripts won't work. On the other hand, the script is not fit for too many servers because it opens a window for a server, and too many windows make the layout messy. If you don't have the demand for interactive shell for each individual server, I would like to recommend this repo: github.com/six-ddc/hss . It is interactive and featured in auto-completion. And it declares that it can run a command on hundreds of servers at the same time.
    – William
    Commented Sep 26, 2020 at 12:32