[android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread fadden
On Apr 3, 1:05 am, ratson materem...@gmail.com wrote: is there an SDK way to find out the exact amount of memory consumed by a process identified by its pid? If you have a development device, adb shell procrank will give you a summary, and adb shell showmap pid will give you details. I don't

[android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread ratson
i have found cat /proc/pid/statm is a good way, but it is extensive to open shells for every process i want to examine. so is there no SDK way? On Apr 7, 8:42 am, fadden fad...@android.com wrote: On Apr 3, 1:05 am, ratson materem...@gmail.com wrote: is there an SDK way to find out the exact

[android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread ratson
i mean expensive... :) On ápr. 7, 09:15, ratson materem...@gmail.com wrote: i have found cat /proc/pid/statm is a good way, but it is extensive to open shells for every process i want to examine. so is there no SDK way? On Apr 7, 8:42 am, fadden fad...@android.com wrote: On Apr 3, 1:05 

[android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread AJ
Hi ratson, thanks for sharing the command. When I run that command 7 numbers in a row. They did not have any column name. Can you please tell us what exactly number is for? Thanks, AJ On Apr 7, 10:21 am, ratson materem...@gmail.com wrote: i mean expensive... :) On ápr. 7, 09:15, ratson

Re: [android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread Rémiás Máté
2nd from right in kb On Wed, Apr 7, 2010 at 9:45 AM, AJ ajeet.invinci...@gmail.com wrote: Hi ratson, thanks for sharing the command. When I run that command 7 numbers in a row. They did not have any column name. Can you please tell us what exactly number is for? Thanks, AJ On Apr 7,

[android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread AJ
I actually want the information regarding foe each column when you issue this command like cat /proc/1976/statm 25930 4123 1825 1 0 2484 0 - AJ On Apr 7, 10:46 am, Rémiás Máté materem...@gmail.com wrote: 2nd from right in kb On Wed, Apr 7, 2010 at 9:45 AM, AJ ajeet.invinci...@gmail.com

Re: [android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread Rémiás Máté
I don't know... please post if you find it... On Apr 7, 2010 10:51 AM, AJ ajeet.invinci...@gmail.com wrote: I actually want the information regarding foe each column when you issue this command like cat /proc/1976/statm 25930 4123 1825 1 0 2484 0 - AJ On Apr 7, 10:46 am, Rémiás Máté

[android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread AJ
yeah i got the info of each column • size total program size • resident resident set size • share shared pages • trs text (code) • drs data/stack • lrs library • dt dirty pages thanks, AJ On Apr 7, 12:25 pm, Rémiás Máté materem...@gmail.com wrote: I

[android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread Bob Kerns
I've been meaning to ask about this... When I try to run procrank on my device, a Nexus One, I get an error that libpagemap.so is not found (and indeed, it's nowhere on my device). Is this not present by default in non-debug builds? Is there some way I could obtain it? While I'm at it, when the