I would like to investigate the process ID of said service on Android. I have an Android 9 and access via adb. Can anyone help me? Can I find out the PID using the command top
or pidof
? Or is there another way to get the PID of the SurfaceFlinger?
Asked
Active
Viewed 337 times
0

Lukas Nothhelfer
- 820
- 1
- 7
- 23
1 Answers
1
adb shell ps | grep surfaceflinger

Larry Schiefer
- 15,687
- 2
- 27
- 33
-
BTW, if you are already in the shell via `adb shell` then you have to type `ps -A | grep surfaceflinger` (at least for me) – Lukas Nothhelfer Dec 05 '19 at 17:06