I am trying to view the memory used when a program is executed, is there any way to do this?
The program takes a few seconds to run, but I would like to view the memory it consumed when it did, because it doesnt run for long it makes it near impossible to view on a top or ps command