Save CPU and memory utilization over time

Hi,

I would like to view the cpu and memory utilization of a given job over time and save this information in a file, such that at the end of the process I can create a plot of the CPU and memory utilization over time.

Is this possible?

I would like to do the same for the io, is there any command for this as well?

Thanks a lot in advance!

giorgos.-

If you have systat installed you have the sar command. Take a look at that.