On Jun 7, 3:30 pm, Pinas <silviorie...@gmail.com> wrote: > Is there maybe an arm port of lsof or any other possibility to get the > ports belonging to an app ?
It wouldn't be terribly hard to port the idea of lsof, but it probably would not be as useful on android as it is on a typical desktop linux with a single human user. That is because each android app runs as its own userid, and the userid's have very limited visibility into each other's files. Another app (or even the adb shell) does not seem to have read visibility into the /proc/pid##/fd directory for a process owned by a different userid. However, there does seem to be visibility into the /proc/pid##/net directory, so for the specific purpose of network sockets you probably can do this. This might be of help in the interpretation: http://lkml.indiana.edu/hypermail/linux/kernel/0409.1/2166.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en