Want more timely Centmin Mod News Updates?
Become a Member

Glances a top command alternative

Discussion in 'Centmin Mod Insights' started by eva2000, Jan 1, 2017.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    44,447
    10,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,710
    Local Time:
    11:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Did you know that Centmin Mod also installs a top command alternative called Glances and sets up an alias command = top2 to run Glances :)

    The version of Glances 1.7.7 on CentOS 7 is fairly old in YUM repos compared to latest Galances 2.7 so probably needs updating eventually

    upload_2017-1-1_13-23-0.png

    Help info

    upload_2017-1-1_13-23-55.png
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,808
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    4:23 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    How?
     
  3. eva2000

    eva2000 Administrator Staff Member

    44,447
    10,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,710
    Local Time:
    11:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  4. buik

    buik “Winners never quit, and quitters never win.” Premium Member

    1,276
    343
    83
    Apr 29, 2016
    Ratings:
    +1,032
    Local Time:
    3:23 AM
  5. eva2000

    eva2000 Administrator Staff Member

    44,447
    10,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,710
    Local Time:
    11:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    sweet thanks for sharing @bassie (y)
     
  6. deltahf

    deltahf Premium Member Premium Member

    360
    170
    43
    Jun 8, 2014
    Ratings:
    +276
    Local Time:
    9:23 PM
    Wow, this is great. So much better than top! Thanks for the heads up. :D
     
  7. rdan

    rdan Well-Known Member

    4,940
    1,180
    113
    May 25, 2014
    Ratings:
    +1,788
    Local Time:
    9:23 AM
    Mainline
    10.2
    I always use HTOP :).
     
  8. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    3:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Tried installing glances and ended nowhere.
    Htop not being installed by default so I installed and it worked.
    Just do not know how to use menu on bottom (F2, F3...).
     
  9. pamamolf

    pamamolf Premium Member Premium Member

    3,808
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    4:23 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    It is already installed on Centminmod installation...

    Just use the shortcut:

    Code:
    top2
    :)
     
  10. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    3:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    tried that, and tried upgraded version.
    Ended with strange things on my screen.

    Capture.PNG
     
  11. eva2000

    eva2000 Administrator Staff Member

    44,447
    10,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,710
    Local Time:
    11:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    which SSH client you using @Sunka could be it doesn't support terminal colors glances can't running! · Issue #247 · nicolargo/glances · GitHub ?

    and Error starting glances on Debian · Issue #31 · nicolargo/glances · GitHub and Error when starting Glances.py on ubuntu FROM a mac terminal (via ssh) · Issue #32 · nicolargo/glances · GitHub
     
  12. eva2000

    eva2000 Administrator Staff Member

    44,447
    10,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,710
    Local Time:
    11:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    example in my SecureCRT client

    upload_2017-1-10_6-32-39.png
     
  13. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    3:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    SecureCRT 8
     
  14. eva2000

    eva2000 Administrator Staff Member

    44,447
    10,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,710
    Local Time:
    11:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    try setting your site session profile options similar to the screenshot above using Xterm for emulation
     
  15. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    3:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    look

    Capture.PNG
     
  16. eva2000

    eva2000 Administrator Staff Member

    44,447
    10,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,710
    Local Time:
    11:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    i confirmed if i set emulation to Xterm Glances works, if i set to ANSI get same error you do :)
     
  17. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    3:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    yep, with your settings work, but I do not like that look. :(
     
  18. eva2000

    eva2000 Administrator Staff Member

    44,447
    10,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,710
    Local Time:
    11:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Can't help with looks then heh
     
  19. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    3:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    And found that Java for some reason consume 3,5GB memory???
    Maybe is that why Elasticsearch stop every night?

    Capture.PNG
     
  20. eva2000

    eva2000 Administrator Staff Member

    44,447
    10,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,710
    Local Time:
    11:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    You can custom fonts etc too

    upload_2017-1-10_6-42-52.png