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).
Coverage decreased (-0.1%) to 53.483% when pulling cd355f965d95e7be0b68fa103f0eed9d9ad40f6b on AsharLohmar:master into 2b9b8990b7368889d787c013e9bc8d315b5bcf22 on duncs:master.
Coverage decreased (-0.2%) to 53.445% when pulling d1bc22ee2265f37a0c6533b90c86c222a2dead9c on AsharLohmar:master into 2b9b8990b7368889d787c013e9bc8d315b5bcf22 on duncs:master.
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).