I do something similar, splitting one window into four panes and running the
same watch-like command (in my case, watchc is a zsh alias) in each. Here
are the pertinent .tmux.conf lines I use:
# Keep windows open after running the command
set set-remain-on-exit on
# create new session with new wi
I have 3 commands,
command1 #writes something to stdout and exit
command2 #writes something to stdout and exit
command3 #similar to tail -f its keep updating
I typically, do
ssh serverA
watch -n 5 command1
split window
ssh serverA
watch -n 5 command2
split window
ssh serverA
command3
I wou