modified: skriptkontrol.sh

This commit is contained in:
Serguei Chmod777 2015-10-06 17:24:44 +02:00
parent 187f5cfd3f
commit dc258efc17

View File

@ -33,6 +33,10 @@ clear
echo " "
echo -n " " && uname -srp && echo -n " *** CHECKING SYSTEM TERM ***" && echo "\n" && apm && echo "----------------------------------------------------------" && df -h && echo "----------------------------------------------------------" && sysctl | grep sensors.cpu && echo "----------------------------------------------------------" && top | head -14 | tail -8 | awk '{$1=$2=$3=$4=""; print $0}' && echo "\n\t\t\t\t [by serguei.chmod77]" && echo "----------------------------------------------------------" && figlet -f graffiti Kontrol &
# both of the (n,n') values in "head -14 | tail -8" before awk's treatment are
# relative to the number of your cpu threads. So it's up to you to adjust these
# integers to get the appropriate selection.
pid=$!
sleep 2
kill $pid