i'd like to measure the total memory (like RAM) used by a program during its execution. Ideally, something like
time that runs the program and print stats when it exits.
Is there such a standard tool in the unix / linux / bsd world? Thanks.
the program i'm trying to profile takes fractions of a second to execute, so anything that implies "while running check this" won't work. that's why i'm asking for a "time" like tool.