How to list running android processes?
I have noticed that I can see the android processes that are running by running: ps -eF | grep ^100
That works since they run as separate users that are not in the passwd file But is there a proper way to list these processes?
There are some Android software components and processes that make up the hardware adaptation but as you're talking about processes with a UID > 10000 I'm guessing you mean Alien Dalvik. As per the Android Security Guide Android apps all run as their own UID and those will be unique per-device and ostensibly based upon the order in which you installed the apps (I'm guessing the Dalvik components themselves are probably the same on different Jollas however). In terms of 'listing' them your ps(1) command has done that. In terms of actually seeing what the runtime refers to them I have no idea if that's possible from 'outside' but should be possible from inside with one or more system process apps from Yandex/Play/F-Droid etc. The process name (CMD column in ps(1)) is usually a good indicator of the function however. What information in particular are you after?
steph ( 2014-02-03 00:23:04 +0200 )editI just thought that my way of listing the processes (outside of the android system) was a bit coarse. Using the fact that systemd launches processes within separate control groups (that then are inherited by other processes) makes that a perfect way to check. (thanks sauron)
sunkan ( 2014-02-03 08:24:55 +0200 )edit