mirror of https://github.com/aristocratos/bashtop
fix for wrong size in earlier pid size fix...
parent
463e1c14cb
commit
2cea1cbba8
2
bashtop
2
bashtop
|
@ -1459,7 +1459,7 @@ collect_processes() { #? Collect process information and calculate accurate cpu
|
||||||
|
|
||||||
|
|
||||||
#* Collect output from ps command to array
|
#* Collect output from ps command to array
|
||||||
if ((width>60)); then format_args=",args:$(( width-(36+proc[pid_len]) ))=Arguments:"; format_cmd=15
|
if ((width>60)); then format_args=",args:$(( width-(47+proc[pid_len]) ))=Arguments:"; format_cmd=15
|
||||||
else format_cmd=$(( width-(31+proc[pid_len]) )); fi
|
else format_cmd=$(( width-(31+proc[pid_len]) )); fi
|
||||||
unset 'proc_array[@]' 'pid_array[@]'
|
unset 'proc_array[@]' 'pid_array[@]'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue