duncs / clusterssh

Cluster SSH - Cluster Admin Via SSH
https://github.com/duncs/clusterssh/wiki
896 stars 79 forks source link

added support for specifying the desired number of columns or rows #88

Closed AsharLohmar closed 7 years ago

AsharLohmar commented 7 years ago

cssh does it's best to distribute the windows, but I wanted to make it obey my will and distribute them how I want it.

Use case: I have a cluster with 8 nodes, normal invocation puts the windows int a 3 by 3 "matrix", I find it more pleasing to go with a 2x4. with this patch/modification I can just invoke it like cssh -x 2 my_cluster

Side note: it's even better with the next feature I'll add, expand the windows so that it will take the whole screen (no overlapping).

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.1%) to 53.483% when pulling cd355f965d95e7be0b68fa103f0eed9d9ad40f6b on AsharLohmar:master into 2b9b8990b7368889d787c013e9bc8d315b5bcf22 on duncs:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.2%) to 53.445% when pulling d1bc22ee2265f37a0c6533b90c86c222a2dead9c on AsharLohmar:master into 2b9b8990b7368889d787c013e9bc8d315b5bcf22 on duncs:master.

duncs commented 7 years ago

Thanks for the patch. I haven't found time to be able to test this myself, yet.

duncs commented 7 years ago

Merged