What command shows the memory usage of a program, i am looking for a command that is simple to use and has similar syntax to the time
command. I am trying to find the memory usage of a md5 hashing program that is written in C and takes 7 seconds to hash "hello world" .
I am using the android operating system with busybox installed.
Best Answer
Ironically,
time
might have an answer for you but this time it should be not shell-built-intime
but standalone one instead:It counts MAX RSS though, not VSS, so would it be useful for you or not depends on your very task heavily.
UPD.: Mac OS X' "think" is slightly different but still it's
time
: