Want to subscribe to topics you're interested in?
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

    53,248
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:27 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    5:27 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    How?
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,248
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:27 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. buik

    buik “The best traveler is one without a camera.”

    1,990
    518
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,647
    Local Time:
    4:27 PM
  5. eva2000

    eva2000 Administrator Staff Member

    53,248
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:27 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    sweet thanks for sharing @bassie (y)
     
  6. deltahf

    deltahf Premium Member Premium Member

    582
    264
    63
    Jun 8, 2014
    Ratings:
    +483
    Local Time:
    10:27 AM
    Wow, this is great. So much better than top! Thanks for the heads up. :D
     
  7. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    10:27 PM
    Mainline
    10.2
    I always use HTOP :).
     
  8. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    4:27 PM
    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

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    5:27 PM
    Nginx-1.25.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,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    4:27 PM
    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

    53,248
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:27 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    53,248
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:27 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    example in my SecureCRT client

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

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    4:27 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    SecureCRT 8
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,248
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:27 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    try setting your site session profile options similar to the screenshot above using Xterm for emulation
     
  15. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    4:27 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    look

    Capture.PNG
     
  16. eva2000

    eva2000 Administrator Staff Member

    53,248
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:27 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    4:27 PM
    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

    53,248
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:27 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Can't help with looks then heh
     
  19. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    4:27 PM
    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

    53,248
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:27 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You can custom fonts etc too

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