我已经运行了一段时间的tmux会话,我可以看到它正在使用pstree运行:
systemd─┬─accounts-daemon───2*[{accounts-daemon}]
├─2*[agetty]
├─containerd───11*[{containerd}]
├─cron
├─dbus-daemon
├─4*[dd]
├─dockerd───12*[{dockerd}]
├─fail2ban-server───2*[{fail2ban-server}]
├─irqbalance───{irqbalance}
├─networkd-dispat
├─polkitd───2*[{polkitd}]
├─qemu-ga
├─rsyslogd───3*[{rsyslogd}]
├─ssh-agent
├─sshd───sshd───sshd───bash───pstree
├─systemd───(sd-pam)
├─systemd-journal
├─systemd-logind
├─systemd-network
├─systemd-resolve
├─systemd-timesyn───{systemd-timesyn}
├─systemd-udevd
├─tmux: server─┬─bash───find_cli
│ └─3*[bash]
└─unattended-upgr───{unattended-upgr}(它在底部)
然而,tmux本身坚持没有会话:
$ tmux attach
no sessions
$ tmux ls
no server running on /tmp/tmux-1000/default在这种情况下是否有任何恢复tmux会话的方法?
发布于 2020-04-25 17:27:10
如果套接字已被删除,您应该能够使用pkill -USR1 tmux重新创建tmux。
https://unix.stackexchange.com/questions/582423
复制相似问题