Skip to content

simple bar charts in terminal using awk

Notifications You must be signed in to change notification settings

milosz/awk-bar-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

awk-bar-chart

simple bar charts in terminal using awk

$ ./processes_bar_chart.sh 
                 username p-count |<                                          bar chart >|
                     _rpc       1 +
                    avahi       2 +
                   colord       1 +
                 kernoops       2 +
               messagebus       1 +
                   milosz     109 ++++++++++++++++++++++++++++++
      nvidia-persistenced       1 +
                     root     204 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                    rtkit       1 +
                    statd       1 +
                   syslog       1 +
              systemd-oom       1 +
          systemd-resolve       1 +
         systemd-timesync       1 +
$ ./processes_bar_chart_full.sh 
                 username p-count |<                                          bar chart >|
                     _rpc       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                    avahi       2 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                   colord       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                 kernoops       2 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
               messagebus       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                   milosz     109 ██████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░
      nvidia-persistenced       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                     root     204 ████████████████████████████████████████████████████████
                    rtkit       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                    statd       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                   syslog       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
              systemd-oom       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
          systemd-resolve       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
         systemd-timesync       1 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

Source: https://blog.sleeplessbeastie.eu/2014/11/25/how-to-create-simple-bar-charts-in-terminal-using-awk/

About

simple bar charts in terminal using awk

Topics

Resources

Stars

Watchers

Forks

Languages