Skip to content
Snippets Groups Projects
Commit 9e199623 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

finetune output

parent aa326192
No related branches found
No related tags found
1 merge request!94finetune output
......@@ -30,7 +30,7 @@ myuser=icingamonitor
NL="
"
out=" "
out=""
# ----------------------------------------------------------------------
# FUNCTIONS
......@@ -161,7 +161,7 @@ function renderCounters(){
do
_iValue=${aVals[$_iCounter]}
_iSpeed=$( ph.perfdeltaspeed "psql-${sColumn}-${_sStoreid}" ${_iValue} sec $_sDeltaUnit)
out=$out$(printf "%25s: %10s %s \n" "${sColumn}" "${_iValue}" "... delta = ${_iSpeed} per $_sDeltaUnit${NL}")
out=$( printf "%-25s: %15s %s \n" "${sColumn}" "${_iValue}" "... delta = ${_iSpeed} per $_sDeltaUnit${NL}" )
ph.perfadd "${sColumn}" "${_iSpeed}"
_iCounter+=1
done
......@@ -298,8 +298,7 @@ case "${sMode}" in
esac
ph.status "Pgsql $sMode :: $descr"
echo
echo "$out"
echo " $out"
ph.exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment