From a390ed7b7c0c46c5273b3578a080fbd541221e4e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 11 Jan 2011 13:06:29 +0000 Subject: released v0.1.1 --- loadbars.pl | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'loadbars.pl') diff --git a/loadbars.pl b/loadbars.pl index 3e7e165..055009b 100755 --- a/loadbars.pl +++ b/loadbars.pl @@ -53,7 +53,7 @@ use threads::shared; use constant { DEPTH => 8, PROMPT => 'loadbars> ', - VERSION => 'loadbars v0.1.0', + VERSION => 'loadbars v0.1.1', COPYRIGHT => '2010-2011 (c) Paul Buetow ', NULL => 0, MSG_SET_DIMENSION => 1, @@ -73,7 +73,6 @@ use constant { USER_RED => 90, USER_ORANGE => 70, USER_YELLOW0 => 50, - RESERVERD_HEIGHT => 50, }; $| = 1; @@ -492,11 +491,20 @@ sub dispatch_table () { } keys %d; my $textdesc = <30% + Yellow: User cpu usage + Darker yellow: User usage if system & user cpu is >50% + Orange: User usage if system & user cpu is >70% + White: Usage usage if system & user cpu is >99% + Green: Nice cpu usage + +Explanation text display: + ni = Nice cpu usage in % + us = User cpu usage in % + sy = System cpu sage in % + su = System & user cpu usage in % END my $closure = sub ($;$) { -- cgit v1.2.3