Prozessoranzahl richtig auswerten

This commit is contained in:
root 2019-09-23 07:42:57 +02:00
parent b40b8d6554
commit 92844a4f89

View File

@ -7,7 +7,7 @@ then
fi fi
path=$(find /usr/lib* -name check_load) path=$(find /usr/lib* -name check_load)
processors="$(grep processor -c /proc/cpuinfo)" processors="$(grep ^processor -c /proc/cpuinfo)"
warn1perc="70" warn1perc="70"
warn5perc="60" warn5perc="60"
warn15perc="50" warn15perc="50"