#!/bin/sh mv run/gmon.out . gprof run/bin/manaplus >gprof.txt cat gprof.txt | gprof2dot.py >gprof.dot cat gprof.dot | dot -Tpng -o gprof.png