Learn about Centmin Mod LEMP Stack today
Register Now

Sysadmin [Tutorial] tmux tutorial

Discussion in 'System Administration' started by eva2000, May 28, 2017.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    12:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Informative Informative x 1
    • Useful Useful x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    12:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    Starting to like tmux more than screen - works a bit better with my SecureCRT SSH client than screen (the backspace key maps to deleting entire line for me in screen sessions).

    Here I have tmux vertical split window with right window split again horizontally as tmux session name = s1. Where left window is show real time mysql process/queries, top right top output and bottom right show sar reported cpu load average over 1, 5 and 15min intervals.

    best part is if i exit SSH, i can come back to this exact configured window setup just attaching the tmux session named = s1 again

    tmux-280517.png

    Playing with webpagetests.org's API for scripted page speed analysis tests - left window for running my wpt.sh script, top right for editing wpt.sh, and bottom right for generated log files

    tmux-280517-wpt.png

    wpt-filmstrip-01.png
    wpt-filmstrip-02.png
    wpt-filmstrip-03.png
     
    Last edited: May 28, 2017
  3. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    12:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: May 28, 2017
  4. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    12:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    After increasing the scrollback buffer for tmux, the past 24hrs has been awesome and refreshing using tmux instead of screen ! Loving tmux :D
     
    • Informative Informative x 1