How can I grab the percentage of cpu usage on a per process basis? So, for example, I'd like to run my program
prog and get the cpu usage it incurred in, for example:
prog name cpu0 cpu1 cpu2 cpu3 total prog 15 20 45 47 127%
Is there any tool for this?