Created
February 11, 2020 10:52
-
-
Save ruslangrimov/56f29062c42ed56a738b9f8a594aaf4b to your computer and use it in GitHub Desktop.
Create tmux session with two panes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
tmux new-session -d -s watch 'exec watch -n 1 nvidia-smi' | |
tmux rename-window 'Watch' | |
tmux select-window -t watch:0 | |
tmux split-window -v 'exec htop' | |
tmux resize-pane -y 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment