modified: skriptkontrol.sh
This commit is contained in:
parent
187f5cfd3f
commit
dc258efc17
@ -33,6 +33,10 @@ clear
|
|||||||
echo " "
|
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 &
|
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=$!
|
pid=$!
|
||||||
sleep 2
|
sleep 2
|
||||||
kill $pid
|
kill $pid
|
||||||
|
Loading…
Reference in New Issue
Block a user