From bb8d1a6dc21aa228638e7bf34f203a317978116a Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 30 May 2015 19:07:22 +0000 Subject: [PATCH] bug fix with ps count for irc --- inxi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 55c3a1e..df601de 100755 --- a/inxi +++ b/inxi @@ -13012,6 +13012,7 @@ print_ps_item() if [[ -n $PS_THROTTLED ]];then throttled=" ${C1} - throttled from${C2} $PS_THROTTLED" fi + echo psc: $PS_COUNT case $1 in cpu) if [[ $B_EXTRA_DATA == 'true' ]];then @@ -13020,7 +13021,7 @@ print_ps_item() memory=" - ${C1}Used/Total$SEP3${C2} $( get_memory_data )" fi fi - line_start_data="${C1}CPU$SEP3 % used$extra_text$memory${C1} - top ${C2}$PS_COUNT ${C1}active$throttled" + line_start_data="${C1}CPU$SEP3 % used$extra_text$memory${C1} - top${C2} $PS_COUNT ${C1}active$throttled" ;; mem) if [[ $B_EXTRA_DATA == 'true' ]];then @@ -13029,7 +13030,7 @@ print_ps_item() if [[ $B_SHOW_INFO == 'false' ]];then memory=" - ${C1}Used/Total$SEP3${C2} $( get_memory_data )" fi - line_start_data="${C1}Memory$SEP3 MB / % used$memory$extra_text${C1} - top ${C2}$PS_COUNT ${C1}active$throttled" + line_start_data="${C1}Memory$SEP3 MB / % used$memory$extra_text${C1} - top${C2} $PS_COUNT ${C1}active$throttled" ;; esac