App-rainbarf
view release on metacpan or search on metacpan
Tricky one. Disabled by default. See "CAVEAT".
"--[no]rgb"
Use the RGB palette instead of the system colors. Also disabled by
default, for the same reasons as above.
"--fg COLOR_NAME"
Force chart foreground color.
"--bg COLOR_NAME"
Force chart background color.
"--[no]loadavg"
Use load average <https://en.wikipedia.org/wiki/Load_(computing)>
metric instead of CPU utilization. You might want to set the "--max"
threshold since this is an absolute value and has varying ranges on
different systems. Disabled by default.
"--[no]swap"
Display the swap usage. Used swap amount is added to the total
amount, but the free swap amount is not! Disabled by default.
CAVEAT
Time remaining
If the "--remaining" option is present but you do not see the time in
your status bar, you may need to increase the value of
"status-right-length" to 48.
Color scheme
If you only see the memory usage bars but no CPU utilization chart,
that's because your terminal's color scheme need an explicit distinction
between foreground and background colors. For instance, "red on red
background" will be displayed as a red block on such terminals. Thus,
you may need the ANSI bright attribute for greater contrast, or maybe
consider switching to the 256-color palette. There are some issues with
that, though:
1. Other color schemes (notably, solarized
<http://ethanschoonover.com/solarized>) have different meaning for
the ANSI bright attribute. So using it will result in a quite
psychedelic appearance. 256-color pallette, activated by the "--rgb"
flag, is unaffected by that.
Use the B<RGB> palette instead of the system colors.
Also disabled by default, for the same reasons as above.
=item C<--fg COLOR_NAME>
Force chart foreground color.
=item C<--bg COLOR_NAME>
Force chart background color.
=item C<--[no]loadavg>
Use L<load average|https://en.wikipedia.org/wiki/Load_(computing)> metric instead of CPU utilization.
You might want to set the C<--max> threshold since this is an absolute value and has varying ranges on different systems.
Disabled by default.
=item C<--[no]swap>
Display the swap usage.
=back
=head1 CAVEAT
=head2 Time remaining
If the C<--remaining> option is present but you do not see the time in your status bar, you may need to increase the value of C<status-right-length> to 48.
=head2 Color scheme
If you only see the memory usage bars but no CPU utilization chart, that's because your terminal's color scheme need an explicit distinction between foreground and background colors.
For instance, "red on red background" will be displayed as a red block on such terminals.
Thus, you may need the ANSI B<bright> attribute for greater contrast, or maybe consider switching to the 256-color palette.
There are some issues with that, though:
=over 4
=item 1.
Other color schemes (notably, L<solarized|http://ethanschoonover.com/solarized>) have different meaning for the ANSI B<bright> attribute.
So using it will result in a quite psychedelic appearance.
256-color pallette, activated by the C<--rgb> flag, is unaffected by that.
( run in 2.261 seconds using v1.01-cache-2.11-cpan-6736b670a1e )