Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display CPU usage as a bar graph using Unicode characters #506

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 23, 2022

  1. Display CPU usage as a bar graph using Unicode characters

    Extend configuration keywords "%usage" with "%usagebar" and
    "%cpu<n>" with "%cpubar<n>", which display the corresponding
    statistics as a bar, one character wide, instead of a percentage.
    These keywords can be combined in a single configuration.
    
    The graph is relatively coarse, with a resolution of 11 percentage
    points per bar increment, but it compresses the width of the
    representation from (typically) four characters to one. This is
    particularly useful on machines with larger numbers of cores.
    Gwenn Englebienne committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    515a3c1 View commit details
    Browse the repository at this point in the history