projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RPATH skipped. Added testing so library. Improve support for default CCR configuratio...
[anna.git]
/
example
/
diameter
/
launcher
/
deployments
/
st-client
/
program.sh
diff --git
a/example/diameter/launcher/deployments/st-client/program.sh
b/example/diameter/launcher/deployments/st-client/program.sh
index
8c461ac
..
a5f1ae1
100755
(executable)
--- 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 () {
}
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"
sleep 10
echo
echo "Idle cpu now: $idle. Check the system CPU with top. If is not overcommited, consider"