From 33f37ede33cd2ed4f2e1d9590c067756fe63de6e Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 15 Feb 2004 23:20:51 +0000 Subject: [PATCH] List PIDs of xterms for easier killing. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@237 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- stresstest.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stresstest.sh b/stresstest.sh index 59b711b..3283409 100755 --- a/stresstest.sh +++ b/stresstest.sh @@ -14,11 +14,13 @@ max=19 rm -f "$chrootdir"/dgldir/inprogress/* rm -f "$chrootdir$hackdir"/save/*[0-9]test[0-9]* +echo -n "Starting processes:" export conffile i i=1 while [ $i -le $max ]; do xterm -e sh -c '(sleep 1; echo "ltest$i"; echo aa; echo -n py i; cat) | ./dgamelaunch -f "$conffile" '& + echo -n " $!" sleep 1 i=$(($i+1)) done - +echo