convert microseconds to seconds for Linux and more whitespace cleanup
This commit is contained in:
parent
8f8f027c11
commit
c0f425d801
|
@ -549,10 +549,10 @@ sub colorize{
|
|||
$matched++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$pctcpu_search_int++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#check to see if it needs to search for memory percent
|
||||
my $pctmem_search_array=$self->pctmemSearchGet;
|
||||
|
@ -691,6 +691,9 @@ sub colorize{
|
|||
|
||||
#colorizes it
|
||||
if ( $field eq 'time' ){
|
||||
if ( $^O =~ 'linux' ){
|
||||
$item=$item/1000000;
|
||||
}
|
||||
$item=$self->timeString($item);
|
||||
}elsif( $field eq 'proc' ){
|
||||
$item=color($self->processColorGet).$item;
|
||||
|
|
Loading…
Reference in New Issue