开启swap
fallocate -l 1G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo "/swapfile swap swap defaults 0 0" >> /etc/fstab查看是否开启 swapfree -m
fallocate -l 1G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo "/swapfile swap swap defaults 0 0" >> /etc/fstab查看是否开启 swapfree -m
tmux lsCtrl+b s
tmuxtmux new -s <name>
tmux rename-session -t <old> <new>Ctrl+b $
exittmux kill-session -t <name>
Ctrl+b dtmux detach
tmux attach -t <name>tmux at -t <name>tmux attachtmux at
tmux switch -t <name>
tmux splitCtrl+b "
tmux split -hCtrl+b %