Giter VIP home page Giter VIP logo

Comments (5)

titpetric avatar titpetric commented on May 22, 2024 1

@mcampbell for detail view I agree, only the gauge would need to be normalized to a 0-100 scale to not overlap the additional comments. Imho, displaying "144%" is still valid, so this is just a rendering issue.

from ctop.

titpetric avatar titpetric commented on May 22, 2024

I think the underlying issue is that ctop doesn't normalize CPU use based on cores. I.e. if you have 4 cores, your total cpu usage can go up to 400% (...). It should be trivial to divide this reported number by the number of CPU cores available.

image

This is what illustrates the issue more concisely (not in a gif :)).

from ctop.

mcampbell avatar mcampbell commented on May 22, 2024

Over 100% CPU on multicore system is a common thing to see, so I'm not sure that CPU normalization is the right answer here. But can confirm the bug; after going over 100%, a red pixel is stuck.

2017-03-09_1015

from ctop.

mcampbell avatar mcampbell commented on May 22, 2024

Yes, 100% (normalized =) agree there; apologies if I misunderstood your intent.

from ctop.

bcicen avatar bcicen commented on May 22, 2024

Thanks all for the input; maximum gauge percent(drawn) has been capped as part of the latest release.

Feel free to reopen if the issue persists.

from ctop.

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.