|
From: | Ozgur Akgun |
Subject: | Re: job race! |
Date: | Thu, 25 Apr 2013 15:00:06 +0100 |
touch flagfile; { SECONDS=0; while [ -f flagfile ]; do sleep 1;
done; pkill parallel; sleep $SECONDS; pkill stress; } & \
parallel -j0 "stress -c 1 -t {} &> /dev/null && echo {};
rm -f flagfile" ::: {3..32} 2> /dev/null
[Prev in Thread] | Current Thread | [Next in Thread] |