Git Product home page Git Product logo

Comments (3)

dagwieers avatar dagwieers commented on May 28, 2024

The --snooze plugin was contributed by someone and proved very useful to find timer problems (mostly related to bad virtualization, e.g. old vmware), but I hardly ever use it. I was wondering what your use-case was ?

Also, I cannot seem to reproduce it myself. Could there be anything else contributing to this ? Terminal emulator ? Shell ? TERM settings ?

Can you try the following ? Does this reproduce it for you ?

[dag@moria dstat]$ dstat --snooze 5 1 | cat
snooze
snooze
     -
5.0051

from dstat.

Rogier-5 avatar Rogier-5 commented on May 28, 2024

I didn't know what --snooze was, but it sounded like it might be useful, so I added it to my command-line to test it out. Bottom line: I don't really have a use-case... :-)

The command: dstat --snooze 5 1 | cat
does print what is expected of it.

Without the pipe through 'cat', it prints (and I see ...) 4 intermediate values in light gray, and then it prints the final value in white, which is not visible on my white background.

So, the problem is that --snooze uses white as color for the final value, and my backgdound is also white, which makes it invisible.

As the option --bw exists for this purpose, I tried that, however the colors used by --snooze are not affected, so the white text is still not visible on my white background.

Could it be that your version of dstat is configured differently, so that --snooze does not use white text on your system ?

from dstat.

dagwieers avatar dagwieers commented on May 28, 2024

Ok, now I understand and yes, I can reproduce it. And I even know what is going on. A fix is within reach ;-)

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.