From 85da390a0515c6ab69fd15e4aa94da871e9e58d1 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 17 May 2010 15:31:41 +0200 Subject: [PATCH] Add stress-cpu script --- build/stress-cpu | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 build/stress-cpu diff --git a/build/stress-cpu b/build/stress-cpu new file mode 100755 index 0000000..36a3b37 --- /dev/null +++ b/build/stress-cpu @@ -0,0 +1,11 @@ +#!/bin/sh + +set -x + +while true; do + if ! pidof -x setup; then + ./hackbench 5 thread; + else + sleep 0.1; + fi +done -- 2.39.2