Possible Duplicate:Measuring RAM usage of a program I am trying to use ps to benchmark a program, I'm just not sure which flags to use. I would like to get the amount of RAM the program used in total, what flag should I use?
Total RAM used by a program with `ps`?
command line;memory;ps