gdunlap/sched-sim.hg

view run.sh @ 6:403bd7680df6

Add runstate printing, script to run and parse
author George Dunlap <gdunlap@xensource.com>
date Mon Oct 19 20:15:18 2009 +0100 (2009-10-19)
parents
children 0ec40a1605a3
line source
1 #!/bin/bash
2 ./simulator --scheduler=credit01 --workload=Sx3 > /tmp/1
3 for C in credit runtime; do
4 for I in 0 1 2 ; do
5 grep -a "^$C v$I" /tmp/1 | awk '{print $3 " " $4;}' > /tmp/1.$C.$I.csv
6 done
7 ygraph -c /tmp/1.$C.*.csv &
8 done