Welcome to Centmin Mod Community
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:
    9:05 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

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    12:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    4,070
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    5:05 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    I thought that was already automated....
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    4,070
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    5:05 AM
    Nginx-1.25.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

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    12:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    12:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    fixed in latest 123.09beta01 update Beta Branch - ensure glances & psutil is installed in 123.09beta01

     
  7. pamamolf

    pamamolf Premium Member Premium Member

    4,070
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    5:05 AM
    Nginx-1.25.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

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    12:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  9. ndha

    ndha Member

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

    eva2000 Administrator Staff Member

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    12:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you ran instructions in linked thread for
    Code (Text):
    cmupdate
    /usr/local/src/centminmod/tools/pip-updates.sh update
     
  11. Jon Snow

    Jon Snow Active Member

    784
    159
    43
    Jun 30, 2017
    Ratings:
    +233
    Local Time:
    11:05 PM
    Nginx 1.13.9
    MariaDB 10.1.31
    Was this fixed in the stable version?

    I had to move data from one server to another (new server) some weeks ago and I just checked for this and noticed it wasn't installed. I used the centminmod menu and tried running:
    Code (Text):
    /usr/local/src/centminmod/tools/pip-updates.sh update
    ERROR: Cannot uninstall 'pyparsing'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

    But it failed.

    There's nothing set for it in /root/.bashrc
     
  12. eva2000

    eva2000 Administrator Staff Member

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    12:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Haven't checked in a while for now take it as broken