zoukankan      html  css  js  c++  java
  • adb shell 杀进程以及端口占用,adbserver服务重启失败

     linux:

    adb shell  ps |grep  netease 

    杀进程:

    adb shell kill [PID] //杀死进程

    C:Userschenquan>adb shell ps
    USER PID PPID VSIZE RSS WCHAN PC NAME
    root 1 0 428 240 c01c0a90 08054ac6 S /init
    root 2 0 0 0 c013a8a6 00000000 S kthreadd
    root 3 2 0 0 c0128d84 00000000 S ksoftirqd/0
    root 5 2 0 0 c0136fc0 00000000 S kworker/u:0

    adb server重启失败解决:

    adb kill-server    //停止adb服务

    netstat -ano | findstr "5037"    // 查找占用端口号5037的连接

    杀掉所有占用 5307port 的19608进程:

    taskkill /F /PID  19608

    再重启adb server 

    adb start-server   //开启adb服务

  • 相关阅读:
    HDU 6034
    HDU 6047
    CodeForces 830B
    HDU 4972
    HDU 4408
    CodeForces 788B
    CodeForces 788A
    CodeForces 792C
    uva 1658 Admiral 最小费最大流
    hdu 5391 Zball in Tina Town 威尔逊定理
  • 原文地址:https://www.cnblogs.com/SunshineKimi/p/12241726.html
Copyright © 2011-2022 走看看