Is it possible to find tmux sockets currently in use?

别说谁变了你拦得住时间么 提交于 2019-12-04 00:50:22

To list all sockets used by tmux you can use lsof:

lsof -U | grep '^tmux'

Use sudo if the inquirer doesn't own the process.

Assuming that the tmux sockets are located at /tmp, which is where they wil be by default, To list all the sockets,

lsof | grep tmp/tmux

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!