Search code examples
androidshelladbdumpsys

Trying to execute procrank from cmd promt, but not working


I'm trying to get memory info which is allocated by my specific application using "adb shell procrank". But when i'm trying to execute the procrank command from cmd promt its giving me error like "/system/bin/sh: procrank: not found". I cant guess what it means!

Thanks in advance.


Solution

  • Procrank is not installed on all devices, you will have to use the following command: "adb shell dumpsys meminfo", it won't give you the memory usage per app, but its an alternative.