I am using Ubuntu 12.0.4 64 bit server edition and I have to measure the server performance for some specific programs.
Is there a way to record the total System resource usage by a specific command?
For example, I have some 10 commands in a perl script file. Can I measure the total (during total time consumed by the command) CPU run time, %CPU usage, Memory Usage, etc., for each of the 10 commands?