diff --git a/check_cpu b/check_cpu
index 072e82541e47415b3f57e30e9ebf782f5c320739..67a647929c010e4eb4fcbcc004372d7db553a949 100755
--- a/check_cpu
+++ b/check_cpu
@@ -26,8 +26,6 @@
 self_APPNAME=$( basename $0 | tr [:lower:] [:upper:] )
 self_APPVERSION=1.9
 
-tmpfile=/tmp/check_cpu_$$
-
 # ----------------------------------------------------------------------
 # functions
 # ----------------------------------------------------------------------
@@ -110,17 +108,6 @@ typeset -i iMinCpuUsageToShowProcesses=$(  ph.getValueWithParam 50 p "$@")
 # top -b -n 1 | head -5 | grep "^\%Cpu" >$tmpfile
 # FIX read cpu from 2nd output of top
 
-# top -b -n 2 -d 0.1 | grep -i "^\%Cpu" | tail -1 >$tmpfile
-# cpuUser=$(   awk '{ print $2 }' $tmpfile)
-# cpuSystem=$( awk '{ print $4 }' $tmpfile)
-# cpuNice=$(   awk '{ print $6 }' $tmpfile)
-# cpuIdle=$(   awk '{ print $8 }' $tmpfile)
-# cpuWait=$(   awk '{ print $10 }' $tmpfile)
-# cpuHi=$(     awk '{ print $12 }' $tmpfile)
-# cpuSi=$(     awk '{ print $14 }' $tmpfile)
-# cpuSt=$(     awk '{ print $16 }' $tmpfile)
-# rm -f $tmpfile
-
 data=$( top -b -n 2 -d 0.1 | grep -i "^\%Cpu" | tail -1 | cut -f 2- -d ':' | tr ',' "\n" )
 
 cpuUser=$(   echo "$data" | grep "us" | awk '{ print $1 }' )