Для удобства составил профили screen/tmux
~/.screenrc:
startup_message off
deflogin on
vbell off
vbell_msg ""
caption always
scrollback 25000
defscrollback 25000
caption string "%{= kw} [%{y}%H%{= kw}] %{kr} %c %{dd} %{+b M}%n %{-b dd}%-w%{+b B.}%n* %t%{-}%+w%< %= | %{kR} Load: %l %{kB}"
будет отображаться так:
[srv] 11:24 3 0 bash 1 bash 2 bash 3* bash | Load 0.00 0.00 0.00
[имя хоста] время колл.сеанов номера_сенсов | загрузка
~/.tmux.conf:
bind r source-file ~/.tmux.conf; display-message "Reload Tmux Config"
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# use PREFIX | to split window horizontally and PREFIX - to split vertically
bind | split-window -h
bind - split-window -v
####new-session
set-window-option -g mode-mouse on
set -g history-limit 25000
set -g visual-activity off
set -g visual-bell off
set -g aggressive-resize on
set-option -g set-titles on
set-option -g set-titles-string '#S:#I.#P #W' # window number,program name,active (or not)
set-window-option -g automatic-rename on # auto name
set-option -g status-utf8 on
set-option -g status-justify left
set-option -g status-bg black
set-option -g status-fg cyan
###set-option -g status-interval 5
set-option -g status-left-length 30
set-option -g status-left '#[fg=yellow][#h] #[fg=magenta]%R #[fg=blue,bold][session=#S] #[default]'
set-option -g status-right ''
set-option -g visual-activity on
set-window-option -g monitor-activity on
set-window-option -g window-status-current-fg colour154
set-window-option -g window-status-fg colour243
set-window-option -g clock-mode-colour cyan
set-window-option -g clock-mode-style 24
будет отображаться так:
[officebackup] 12:59 [session=0] 0:bash*
[имя хоста] время [имя сессии] номера_сенсов