We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65abb91 + 48b8c27 commit fd2d3e5Copy full SHA for fd2d3e5
agent/tool-scripts/kvm-spinlock
@@ -264,7 +264,7 @@ function safe_kill() {
264
done
265
# hack: individual tools will have a different number of pids running.
266
# we might just delete the warning if it gets too cumbersome.
267
- if [ $len -ge 4 -o $len -ge 3 -a $tool!="turbostat" ] ;then
+ if [[ $len > 4 || ($len > 3 && $tool != "turbostat") ]] ;then
268
warn_log "Too many pids for $tool: $pidlist -- maybe old tools running? Use pbench-kill-tools."
269
fi
270
0 commit comments