Giter Site home page Giter Site logo

Comments (7)

nicolargo avatar nicolargo commented on May 19, 2024

Whaou ! that a lot of cores :)

The Curses interface is not compatible with mouse button. and i want to keep Glances as simple as possible with all the "useful" information on the screen.

Another proposal is to sort the CPU core per consumption and only display the top 'n' (n will be configurable from the Glances configuration file).

What do you think ?

from glances.

Char11e avatar Char11e commented on May 19, 2024

@nicolargo

Thank you very much for your information!

Because I tried with the "more" directive, but it doesn't seem to work.

$ glances --percpu | more

from glances.

Char11e avatar Char11e commented on May 19, 2024

@nicolargo

Another proposal is to sort the CPU core per consumption and only display the top 'n' (n will be configurable from the Glances configuration file).

By "n", do you mean that only the first "n" cores can be displayed?

For example: the first "40" cores or the first "25" cores?

Is there a way to specify the core number to display?
Example: 50th to 75th core or 100th to 140th etc.

Thanks again.

from glances.

nicolargo avatar nicolargo commented on May 19, 2024

My proposal is the following:

First 'n' process sorrted by CPU consumption (with n = 3):

CPU10: [...
CPU2:  [...
CPU22: [....
CPU* : [....

The last line (CPU*) display the sum of all others CPUs.

from glances.

Char11e avatar Char11e commented on May 19, 2024

Because sometimes when I test, I need to monitor the working condition of a specific core group.

For example, is it possible to add in the config to allow the user to set the number of CPU displays per page and support the page change function?

from glances.

nicolargo avatar nicolargo commented on May 19, 2024

First implementation done in the develop branch.

Configuration file:

[percpu]
# Define the maximum number of CPU displayed at a time
# If the number of CPU is higher than the one configured in max_cpu_display then:
# - display top 'max_cpu_display' (sorted by CPU consumption)
# - a last line will be added with the mean of all other CPUs
max_cpu_display=4

from glances.

nicolargo avatar nicolargo commented on May 19, 2024

image

from glances.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.