答:分成两个步骤,如下: 1.列出当前的tmux窗口 jello@jello:~$ tmux ls 1: 1 windows (created Tue Jan 17 09:28:05 2019) [207x86]13: 1 windows (created Tue Jan 17 17:49:10 2019) [207x86]16: 1 windows (created Thu Jan 17 10:41:44 2019) [207x86]19: 5 windows (created Tue Jan
setw -g mode-mouse on set -g mouse-select-pane on set -g mouse-resize-pane on set -g mouse-select-window off 出现unknown option: mode-mouse错误: 可以用 set-option -g mouse on 代替以上代码就OK了!
这篇博客跟以前的vim配置一样,都是为了以后本人自己方便备份的tmux配置文件 0.安装 centos默认自带的软件是screen,没有带tmux,所以需要源代码安装 get clone http://github.com/tmux/tmux.git cd tmux/ sh autogen.sh ./configure 这个时候会出错,因为tmux需要libevent环境.而且高版本的tmux需要libevent版本是2.0以上的,而centos6.x通过yum 安装的libevent是1.x版
too many connections是由于mysql配置中连接数过少,不足以支撑当前的并发数,too many open files是由于mysql open_files_limit的值大小不够. 最开始mysql日志出现的错误为too many connections,mysql配置文件已经配置了最大连接数max_connections=2000,登录到mysql中,查看mysql连接收:show processlist; (查看详细执行信息使用:show full processlis