Cheatsheet: https://gist.github.com/MohamedAlaa/2961058
- login via SSH
- launch tmux with a session name that makes sense, e.g.
tmux new -s AEAREP-xxxx
- Launch your matlab job
- Disconnect from tmux:
ctrl-b d
. You don’t need to press this both Keyboard shortcut at a time. First press “Ctrl+b” and then press “d” . - Log out of SSH
Next time:
- login via SSH
- reconnect to your tmux session:
tmux a -t AEAREP-xxxx
- If you forgot what session,
tmux ls
When logged into the compute node, you can call ps ux
to see all your running jobs.