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

update php-fpm check - small changes in output

parent eadfbc96
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ fi
# ----------------------------------------------------------------------
# output
# ----------------------------------------------------------------------
ph.status "PHP-FPM service: active: $iActive (max: $iMaxActive) .. idle workers: $iIdle .. queue: $iQueue .. speed: $iSpeed req per $sDeltaunit ... slow: $iSlow req per $sDeltaunit ($iSlowPercent %; total: $iSlowTotal)"
ph.status "PHP-FPM service: active: $iActive (max: $iMaxActive) .. idle workers: $iIdle .. queue: $iQueue .. speed: $iSpeed req per $sDeltaunit ... slow: $iSlow req per $sDeltaunit ($iSlowPercent%; total: $iSlowTotal)"
echo "Workers: Running: $iWorkerRunning"
echo " Reading headers: $iWorkerReading"
echo " Idle: $iWorkerIdle"
......@@ -221,12 +221,12 @@ if [ $iMaxChilds -gt 0 ]; then
fi
if [ $iQueue -gt 0 ]; then
echo $hint
echo "WARNING: $iQueue queued requests were found. Maximum of queued items is $iMaxQueue."
echo "WARNING: $iQueue queued requests were found. Maximum of queued items is $iMaxQueue (since last start of fpm service)."
echo
fi
if [ $iSlow -gt 0 ]; then
echo $hint
echo "WARNING: $iSlow slow requests were found per $sDeltaunit ... $iSlowTotal since restart of fpm service."
echo "WARNING: $iSlow slow requests were found per $sDeltaunit ($iSlowPercent%)... total $iSlowTotal slow req were detected (since last start of fpm service)."
echo
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment