X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fst-client%2Fprogram.sh;h=a5f1ae108d44cf7cbbbe2cf716e9e96acaeee055;hb=30def5757c5b3411f77fff62a163241ecc616337;hp=4d878c01db7da69fe450aafae8e1222ea181c59b;hpb=e08f7cf02151389d0b871029ba0fba177157bb8d;p=anna.git diff --git a/example/diameter/launcher/deployments/st-client/program.sh b/example/diameter/launcher/deployments/st-client/program.sh index 4d878c0..a5f1ae1 100755 --- a/example/diameter/launcher/deployments/st-client/program.sh +++ b/example/diameter/launcher/deployments/st-client/program.sh @@ -83,7 +83,7 @@ EOF } advice_to_squeeze_idle_cpu () { - local idle=$(top -b -d 0.1 -n 2 | grep 'Cpu(s):'| tail -1 | awk '{print $8}' | sed 's/,/./') + local idle=$(top -b -d 1 -n 2 | grep 'Cpu(s):'| tail -1 | awk '{print $8}' | sed 's/,/./') sleep 10 echo echo "Idle cpu now: $idle. Check the system CPU with top. If is not overcommited, consider" @@ -181,7 +181,7 @@ then # dynamic programming ################################################################# else - TESTCASE_DIR=$(readlink -f dynlibs/liblauncher_procedure_default_shared.so | xargs dirname) + TESTCASE_DIR=$(readlink -f dynlibs/libanna_launcher_procedure_default_shared.so | xargs dirname) DYNAMIC_SUFFIX_FILE=$TESTCASE_DIR/dynamic.suffix [ ! -f $DYNAMIC_SUFFIX_FILE ] && _exit "Missing '$DYNAMIC_SUFFIX_FILE' file.\nUse 'dynlibs/select.sh' to change the dynamic procedure and restart the ADML instances."