From dc258efc17a49ebddd354ce2e3ee70a42667e3bb Mon Sep 17 00:00:00 2001 From: Serguei Chmod777 Date: Tue, 6 Oct 2015 17:24:44 +0200 Subject: [PATCH] modified: skriptkontrol.sh --- skriptkontrol.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skriptkontrol.sh b/skriptkontrol.sh index 11d0350..2ed9e34 100644 --- a/skriptkontrol.sh +++ b/skriptkontrol.sh @@ -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