Usage Graphs is a shell script that generates IO and CPU charts for a random process running on a linux machine.
This code has only been tested on linux.
./measure.sh <string inside command>
Make sure that "sudo" is allowed to execute "iotop"
gnuplot