summaryrefslogtreecommitdiff
path: root/vnet/screen-everywhere.sh
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-11-04 04:51:16 -0400
committerjoe <joe@jerkface.net>2017-11-04 04:51:16 -0400
commite6fef429fc3918eab6a35af202a101778c9abde3 (patch)
tree73fdb5fcb57594dbaea492fb838ce30d1a18bb38 /vnet/screen-everywhere.sh
parenta2ab874ed45dcaba3e063b0b55ab1d0a05a17158 (diff)
Utility for testing 16 simultaneous nodes.
Diffstat (limited to 'vnet/screen-everywhere.sh')
-rwxr-xr-xvnet/screen-everywhere.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/vnet/screen-everywhere.sh b/vnet/screen-everywhere.sh
new file mode 100755
index 00000000..e4f75374
--- /dev/null
+++ b/vnet/screen-everywhere.sh
@@ -0,0 +1,21 @@
1#!/bin/sh
2cmd="$@"
3echo "$cmd" > /tmp/screen-exchange
4screen -S test -X eval readbuf \
5 "select 15" "paste ." \
6 "select 14" "paste ." \
7 "select 13" "paste ." \
8 "select 12" "paste ." \
9 "select 11" "paste ." \
10 "select 10" "paste ." \
11 "select 9" "paste ." \
12 "select 8" "paste ." \
13 "select 7" "paste ." \
14 "select 6" "paste ." \
15 "select 5" "paste ." \
16 "select 5" "paste ." \
17 "select 4" "paste ." \
18 "select 3" "paste ." \
19 "select 2" "paste ." \
20 "select 1" "paste ." \
21 "select 0" "paste ."