The first (left) column is the process ID (PID) that you are looking for.įind the first PID (in the above example, it's 6617).
Which gives you a wider result something like: 6617 ? 9:05.54 /Users/nav/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64 -netdelay none -netspeed full -avd Nexus_One_API_29Ħ619 ? 0:06.10 /Users/nav/Library/Android/sdk/emulator/emulator64-crash-service -pipe .6617 -ppid 6617 -data-dir /tmp/android-nav/Ħ658 ? 0:07.93 /Users/nav/Library/Android/sdk/emulator/lib64/qt/libexec/QtWebEngineProcess -type=renderer -disable-accelerated-video-decode -disable-gpu-memory-buffer-video-frames -disable-pepper-3d-image-chromium -enable-threaded-compositing -file-url-path-alias=/gen=/Users/nav/Library/Android/sdk/emulator/lib64/qt/libexec/gen -enable-features=AllowContentInitiatedDataUrlNavigations -disable-features=MacV2Sandbox,MojoVideoCapture,SurfaceSynchronization,UseVideoCaptureApiForDevToolsSnapshots -disable-gpu-compositing -service-pipe-token=15570406721898250245 -lang=en-US -webengine-schemes=qrc:sLV -num-raster-threads=4 -enable-main-frame-before-activation -service-request-channel-token=15570406721898250245 -renderer-client-id=2Ħ659 ? 0:01.11 /Users/nav/Library/Android/sdk/emulator/lib64/qt/libexec/QtWebEngineProcess -type=renderer -disable-accelerated-video-decode -disable-gpu-memory-buffer-video-frames -disable-pepper-3d-image-chromium -enable-threaded-compositing -file-url-path-alias=/gen=/Users/nav/Library/Android/sdk/emulator/lib64/qt/libexec/gen -enable-features=AllowContentInitiatedDataUrlNavigations -disable-features=MacV2Sandbox,MojoVideoCapture,SurfaceSynchronization,UseVideoCaptureApiForDevToolsSnapshots -disable-gpu-compositing -service-pipe-token=-lang=en-US -webengine-schemes=qrc:sLV -num-raster-threads=4 -enable-main-frame-before-activation -service-request-channel-token= -renderer-client-id=3 To stop all running emulators we use this command: adb devices | grep emulator | cut -f1 | while read line do adb -s $line emu kill done It shouldnt be wrong if you use a command line text editor such as vim or vi.
Adb -s emulator-5554 emu kill, where emulator-5554 is the emulator name.įor Ubuntu users I found a good command to stop all running emulators (Thanks to adb devices | grep emulator | cut -f1 | while read line do adb -s $line emu kill done Terminal is a Mac app, a terminal emulator, that runs whatever software.