Git Product home page Git Product logo

Comments (10)

do11 avatar do11 commented on May 24, 2024

I support this feature request. High cpu load (columns usr sys wai hiq siq) should be red on high load and green on low (contrary to current behavior). And idle column should be green on high and red on low (like current behavior). Reasonale is it is hard to distinguish high load by casual glance now.

from dstat.

dagwieers avatar dagwieers commented on May 24, 2024

Ok, the documentation should make this clear. The colors have no meaning except that they indicate a change in unit, or breaking a treshold. I will not add meaning to colors like green means OK and red means not OK. Because that's subjective and depends on interpretation. And people might start to wonder why 64M of free memory is OK.

Bad idea. Leave the interpretation of numbers up to the experts/users.

from dstat.

do11 avatar do11 commented on May 24, 2024

Nowhere I requested it to be interpretation as 'good' or 'bad'. Just high cpu load is red (or green, blue, whatever), and low cpu load is contrary to it. I.e.'idle' colored in reverse to the rest of cpu values, because idle is negative of it (it is 100 - sum of rest). Proposed benefit is not goodness/badness interpretation by non experts, but ease of seeing general cpu load. Of course don't reply to this as I understood your position, and just wanted to clarify mine.

from dstat.

dagwieers avatar dagwieers commented on May 24, 2024

Yes, you give meaning to red as being "high cpu load", which it is not. The meaning of red in this case is between 0% and 33%, which is the same for every percentage value, whether it is wifi signal, disk usage, cpu usage or idle time.

from dstat.

dagwieers avatar dagwieers commented on May 24, 2024

@wting: At the moment you cannot change the color palette (colors and order) however this was one of the examples for the dstat configuration file that we may introduce at some point. The only thing you can do now is either go to black-on-white colors (--bw) or disable colors altogether (--nocolor).

Of course you can patch the code. We should probably discuss introducing the configuration file.

Reopening as a feature request.

from dstat.

do11 avatar do11 commented on May 24, 2024

I give meaning 'high/low' which is bad, you give meaning ' between 0% and 33%' is good. Ok, nm.

from dstat.

clime avatar clime commented on May 24, 2024

I agree the colors should be switched. It makes a new user confused. I was totally baffled by this and needed to google up what 's going on (that is why I am here).

from dstat.

chrcoluk avatar chrcoluk commented on May 24, 2024

I would like to replace the blue colours with something like green or yellow as on a black background its barely readable.

from dstat.

dagwieers avatar dagwieers commented on May 24, 2024

@chrcoluk The obvious way to make blue more readable is configuring your terminal to display a lighter blue than what is configured. This helps not just for Dstat, but also for other tools using blue.

from dstat.

zviratko avatar zviratko commented on May 24, 2024

Just came here to open a bug and found this issue

When it comes to CPU load, interpretation of red=bad or green=good is of course dependant on what one expects - if I wanted to run computations then 0% CPU usage would in fact be bad.
But when it comes to disk statistics for example, surely 100% disk utilization should be in red by default and not green - one might argue it's the same thing, but for 99% people using dstat red would be much more intuitive (and 100% disk utilization usually is bad, except special scenarios.)

from dstat.

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.