From ce3b04ad5a5094307015c518aa7debb385eea6eb Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Thu, 10 Mar 2022 16:32:07 +0100
Subject: [PATCH] check_cpu: fix typo in output

---
 check_cpu | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/check_cpu b/check_cpu
index 153f126..a56eecf 100755
--- a/check_cpu
+++ b/check_cpu
@@ -65,7 +65,7 @@ PARAMETERS:
     None.
 
 EXAMPLE:
-$(basename $0) -w 60 -c 80 -i 40
+$(basename $0) -w 60 -c 80 -p 40
 
 EOF
 }
@@ -131,10 +131,10 @@ else
 
       if [ "$(echo "${cpuNonIdle} > ${iCriticalLimit}" | bc)" -eq 1 ]; then
           ph.setStatus "critical"
-          sInfo="HINT  : cpu usage is high - check preocesses"
+          sInfo="HINT  : cpu usage is high - check processes"
       else
           ph.setStatus "warning"
-          sInfo="HINT  : cpu usage is high - check preocesses"
+          sInfo="HINT  : cpu usage is high - check processes"
       fi
   fi
 fi
-- 
GitLab