Page MenuHomec4science

post.sh
No OneTemporary

File Metadata

Created
Thu, Aug 15, 03:07
#!/bin/bash
n=`grep -c ^ ../cores.txt`
echo "cores value" > res_gear.txt
bin/extract.py dIrr-*/snap/cpu.txt | sed '1,3d' | head -$n | sort -k 1 -n | awk '{ print $1 " " $4 }' >> res_gear.txt
[ -d ../Results/GEAR ] && cp res_gear.txt ../Results/GEAR/
for i in `cat ../cores.txt`; do
dir=dIrr-$i/snap
[ -d ../Results/GEAR ] && (mkdir -p ../Results/GEAR/$dir; cp $dir/cpu.txt ../Results/GEAR/$dir/)
done

Event Timeline