Yioryos Asprobounitis mavrothal at yahoo.com
Thu Jul 4 16:00:09 EDT 2013

> So, having someone generate activity startup time numbers in a fair

> test (i.e. same platform, different software versions) would be of
> value.

The following script appears to work as expected, but is the result valid?
ie does the call through sugar-lunch as well as grep, awk, kill etc add to the time result?

rm -f output.txt
for x in $(cat Activities/*/activity/activity.info | grep bundle | cut -f 2 -d '=')
 echo $x >> output.txt
 { time sugar-launch $x 2>/dev/null & 
 sleep 30
 ME=$(ps aux | grep $x | grep -v grep | awk '{print $2}') 
 kill -9 $ME ; } 2>> output.txt
 echo >> output.txt

More information about the Devel mailing list