Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When running ps as root within my device (HTC Desire HD) I see the following line:

app_132   18584 13586 0      0     ffffffff 00000000 Z ratc

Repeating hundreds of times.

How can I tell which app is "app_132" ?

UPDATE: O.k. I actually found out which app it was based on the class names listed at the end of first lines in the output of the ps command where app_132 is listed.

ps | grep app_132 | more

but even though this solves my immediate situation I still would like an answer to the original Q.

share|improve this question
up vote 6 down vote accepted

The numbers in "app_XYZ" name will be different on every device, since they depend on the order of installed apps.

In adb shell or terminal emulator perform the following command:

ls -l /data/data/

This should return a listing of installed apps' directories that contain their data and settings, like so:

drwxr-x--x app_1    app_1             2012-03-28 09:07
drwxr-x--x app_2    app_2             2012-04-04 09:37
drwxr-x--x app_3    app_3             2012-03-28 09:07
drwxr-x--x app_4    app_4             2012-03-28 09:07
drwxr-x--x app_5    app_5             2012-03-28 09:07
drwxr-x--x app_7    app_7             2012-03-28 09:07
drwxr-x--x app_8    app_8             2012-03-28 09:07
drwxr-x--x app_70   app_70            2012-03-28 09:07
drwxr-x--x app_0    app_0             2012-03-28 09:07
drwxr-x--x app_10   app_10            2012-03-28 09:07
drwxr-x--x app_11   app_11            2012-03-28 09:07
drwxr-x--x app_12   app_12            2012-03-28 09:07
drwxr-x--x app_14   app_14            2012-03-28 09:07
drwxr-x--x app_15   app_15            2012-03-28 09:07

The 2nd and 3rd columns list the app's owner, while the 5th column contains the app's package name. Find the line corresponding to the "app_132" from your logcat entry, and the package name will help you figure out the responsible app.

Once you have the package name, try searching for it in the Google Play Store. Just use the link, where "xxxxxxx" is the package name you found. For example, on my phone "app_70" corresponds to "", which corresponds to Google Chrome browser in the Play Store:

share|improve this answer
Thank you for a great answer. maybe you can help with my other android Q (about readonly file system...) – epeleg Apr 9 '12 at 12:59
using ls -l /data/data/ | grep app_XXX is even better :) – epeleg Apr 9 '12 at 20:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.