Welcome to Centmin Mod Community
Register Now

Sysadmin [Tutorial] tmux tutorial

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

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    35,033
    7,731
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,922
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Informative Informative x 1
    • Useful Useful x 1
  2. eva2000

    eva2000 Administrator Staff Member

    35,033
    7,731
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,922
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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

    35,033
    7,731
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,922
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Last edited: May 28, 2017
  4. eva2000

    eva2000 Administrator Staff Member

    35,033
    7,731
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,922
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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
  5. Meirami

    Meirami Member

    70
    7
    8
    Dec 21, 2017
    Ratings:
    +24
    Local Time:
    1:39 AM
    Yum install tmux offers very old version. 1.8... Is it still ok or should I have newer? What is the recommended way to install newer?
     
  6. eva2000

    eva2000 Administrator Staff Member

    35,033
    7,731
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,922
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Yum install should be fine :)
     
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    35,033
    7,731
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,922
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    FYI, there's a web browser gui tmux pane/window generator tool too Cockpit
     
    • Like Like x 1
    • Informative Informative x 1
..