#!/bin/csh # set three parameters below to L1, L2, L3 dinero command lines # this example is set to approximate the course alpha servers set _L1_="dinero -i8K -d8K -a4 -ww -An -b32 -W8 -B32" set _L2_="dinero -u512K -a4 -wc -Aw -b32 -W8 -B16" # set command line below to generate the trace # if an existing trace file, use a "cat" command # if an atom-ized program then run the program set _cmd_="madd.atomd" # set these variables to the file names you want dinero stats stored in set _fL1_=L1.out set _fL2_=L2.out # normally you won't have to edit past this point... date; uptime set _awkcmd_="awk -f multilev.awk -v " rm $_fL1_ ; rm $_fL2_ echo $_cmd_ "|" $_L1_ -o2 "|" $_awkcmd_ fn=L1.out "|" $_L2_ ">" L2.out $_cmd_ | $_L1_ -o2 | $_awkcmd_ fn=L1.out | $_L2_ > L2.out echo "L1 information is in file:" $_fL1_ echo "L2 information is in file:" $_fL2_ unset _L1_ ; unset _L2_ ; unset _cmd_ ; unset _awkcmd_ date; uptime