Join the community today
Become a Member

Glances a top command alternative

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

Tags:
  1. ndha

    ndha Member

    82
    10
    8
    Sep 28, 2014
    Ratings:
    +29
    Local Time:
    5:56 AM
    Latest
    10
    @eva2000 i just install new server centos 7 64 with php 7.3 but glances/top2 not installed..
    This happen in my 2 last install centmin..
    i must manually install psutill n glances..
    but how can i attach it to top2 command instead use glances???
    Thanks..
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,172
    10,067
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,560
    Local Time:
    8:56 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    thanks for heads up

    top set top2 command you set it as a command alias in /root/.bashrc file

    Code (Text):
    alias top2='glances'

    then log out of SSH session and log back in
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    3,772
    366
    83
    May 31, 2014
    Ratings:
    +706
    Local Time:
    1:56 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I thought that was already automated....
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,772
    366
    83
    May 31, 2014
    Ratings:
    +706
    Local Time:
    1:56 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Code:
    -bash: top2: command not found
    -bash: glances: command not found
    It seems that is not installed by default anymore.... ?

    I can't see also the alias at /root/.bashrc

    I was used on a new installation the 7.3 installer... Centos 7

    Should i install it manually? yum install glances ?
     
    Last edited: Mar 31, 2020
  5. eva2000

    eva2000 Administrator Staff Member

    44,172
    10,067
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,560
    Local Time:
    8:56 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    have you ran centmin.sh menu yet ? if you run centmin.sh once and then check, is glances installed then ?
     
  6. eva2000

    eva2000 Administrator Staff Member

    44,172
    10,067
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,560
    Local Time:
    8:56 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    fixed in latest 123.09beta01 update Beta Branch - ensure glances & psutil is installed in 123.09beta01

     
  7. pamamolf

    pamamolf Premium Member Premium Member

    3,772
    366
    83
    May 31, 2014
    Ratings:
    +706
    Local Time:
    1:56 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Yes a few times..

    No it doesn't...

    Yes now it works great :)

    Thanks
     
  8. eva2000

    eva2000 Administrator Staff Member

    44,172
    10,067
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,560
    Local Time:
    8:56 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 3
  9. ndha

    ndha Member

    82
    10
    8
    Sep 28, 2014
    Ratings:
    +29
    Local Time:
    5:56 AM
    Latest
    10
  10. eva2000

    eva2000 Administrator Staff Member

    44,172
    10,067
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,560
    Local Time:
    8:56 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    you ran instructions in linked thread for
    Code (Text):
    cmupdate
    /usr/local/src/centminmod/tools/pip-updates.sh update