Is there a way to measure how much an executed terminal command/operation used memory, like the built-in command
I was looking for something like this: http://man7.org/linux/man-pages/man1/time.1.html
This is how I used it:
$/usr/bin/time -f "%E %M" *<command>*
That gave me:
%E - elapsed real time (in [hours:]minutes:seconds);
%M - maximum resident set size of the process during its lifetime, in kB.