Code:
#!/bin/bash set -o xtrace # Start tmux session for primenet instances tmux new-session -c /home/zzzz -s test -d 'watch -n 1 sensors' tmux split-window -d -c /home/zzzz/gpuowl -t test './gpuowl -dir /home/zzzz/gpuowl -user xxxx -block 400 -log 10000 -cpu cccc -device 0' tmux split-window -d -c /home/zzzz/gpuowl -t test './primenet.py -u xxxx -p yyyy --dirs /home/zzzz/gpuowl -t 3600 -w 150 --tasks 2' tmux select-layout -t test tiled tmux attach -t test
1. watch sensors window
2. gpuowl window
3. primenet.py window