Search code examples
androidadbandroid-sdk-2.3

Using DU on Android


Is there something similar to the unix command du i can use on adb shell? I'm trying to find a way to see how big each file is because I have an application that is growing very large and out of control and I am trying to determine which file/database it is specifically so I can address the problem.

I am testing this on an Evo 4G and getting:

du: permission denied

or after I root/remount it:

du: not found

cd into other folders dose not help me at any point.


Solution

  • Install Terminal IDE (or some other app that includes du or BusyBox - TIDE includes quite a lot in addition to that, which you may not want), and either ask the question with one of its terminals, or by connecting to its telnet server and then asking.