Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop scrcpy by kill app_process #5291

Open
tingfengwanxiao opened this issue Sep 14, 2024 · 2 comments
Open

Stop scrcpy by kill app_process #5291

tingfengwanxiao opened this issue Sep 14, 2024 · 2 comments

Comments

@tingfengwanxiao
Copy link

tingfengwanxiao commented Sep 14, 2024

          You could also kill the process _on the device_ instead:

adb shell pkill app_process

(assuming it is the only one running)

Originally posted by @rom1v in #818 (comment)

but when many app_process in my devices,how can I only kill the app_process create by scrcpy?

image

@tingfengwanxiao tingfengwanxiao changed the title You could also kill the process _on the device_ instead: Stop scrcpy by kill app_process Sep 14, 2024
@Ercilan
Copy link

Ercilan commented Sep 19, 2024

image
if you use top, maybe you need to add option to show the full cmdline info

-o      Show FIELDS (def PID,USER,PR,NI,VIRT,RES,SHR,S,%CPU,%MEM,TIME+,CMDLINE)

@Ercilan
Copy link

Ercilan commented Sep 19, 2024

ps

-O  Add FIELDS to defaults

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants