Get the most out of your Centmin Mod LEMP stack
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

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 2
  2. pamamolf

    pamamolf Well-Known Member

    2,493
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    4:53 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    How?
     
  3. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 2
  4. bassie

    bassie Active Member

    494
    104
    43
    Apr 29, 2016
    Ratings:
    +312
    Local Time:
    3:53 AM
    • Like Like x 2
    • Useful Useful x 1
  5. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    sweet thanks for sharing @bassie (y)
     
  6. deltahf

    deltahf Active Member

    203
    99
    28
    Jun 8, 2014
    Ratings:
    +149
    Local Time:
    9:53 PM
    Wow, this is great. So much better than top! Thanks for the heads up. :D
     
    • Like Like x 1
  7. RoldanLT

    RoldanLT Well-Known Member

    3,828
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    9:53 AM
    1.11
    10.2
    I always use HTOP :).
     
    • Agree Agree x 1
  8. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    3:53 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    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 Well-Known Member

    2,493
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    4:53 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    It is already installed on Centminmod installation...

    Just use the shortcut:

    Code:
    top2
    :)
     
  10. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    3:53 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    tried that, and tried upgraded version.
    Ended with strange things on my screen.

    Capture.PNG
     
  11. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    example in my SecureCRT client

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

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    3:53 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    SecureCRT 8
     
  14. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    try setting your site session profile options similar to the screenshot above using Xterm for emulation
     
  15. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    3:53 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    look

    Capture.PNG
     
  16. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    i confirmed if i set emulation to Xterm Glances works, if i set to ANSI get same error you do :)
     
    • Like Like x 1
  17. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    3:53 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    yep, with your settings work, but I do not like that look. :(
     
  18. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    Can't help with looks then heh
     
    • Creative Creative x 1
  19. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    3:53 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    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

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    You can custom fonts etc too

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