zoukankan      html  css  js  c++  java
  • 查找被占用端口的方法

    C:Usersceshi> netstat -aon|findstr "5037"
    TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6600
    TCP 127.0.0.1:5037 127.0.0.1:52542 ESTABLISHED 6600
    TCP 127.0.0.1:5037 127.0.0.1:52545 ESTABLISHED 6600
    TCP 127.0.0.1:52542 127.0.0.1:5037 ESTABLISHED 1080
    TCP 127.0.0.1:52545 127.0.0.1:5037 ESTABLISHED 4240

    C:Usersceshi> tasklist|findstr "1080"
    adb.exe 1080 Console 1 5,072 K

    C:Usersceshi> tasklist|findstr "4240"
    adb.exe 4240 Console 1 5,212 K

    C:Usersceshi> tasklist|findstr "6600"
    adb.exe 6600 Console 1 7,116 K

    C:Usersceshi>taskkill /f /t /im adb.exe
    成功: 已终止 PID 2764 (属于 PID 1080 子进程)的进程。
    成功: 已终止 PID 7144 (属于 PID 4240 子进程)的进程。
    成功: 已终止 PID 6600 (属于 PID 7828 子进程)的进程。
    成功: 已终止 PID 1080 (属于 PID 6396 子进程)的进程。
    成功: 已终止 PID 4240 (属于 PID 6396 子进程)的进程。

    C:Usersceshi>netstat -aon|findstr "5037"
    TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 2748
    TCP 127.0.0.1:5037 127.0.0.1:53058 TIME_WAIT 0
    TCP 127.0.0.1:5037 127.0.0.1:53065 TIME_WAIT 0
    TCP 127.0.0.1:5037 127.0.0.1:53066 TIME_WAIT 0
    TCP 127.0.0.1:5037 127.0.0.1:53067 TIME_WAIT 0
    TCP 127.0.0.1:5037 127.0.0.1:53068 ESTABLISHED 2748
    TCP 127.0.0.1:5037 127.0.0.1:53071 TIME_WAIT 0
    TCP 127.0.0.1:5037 127.0.0.1:53072 ESTABLISHED 2748
    TCP 127.0.0.1:53068 127.0.0.1:5037 ESTABLISHED 7992
    TCP 127.0.0.1:53072 127.0.0.1:5037 ESTABLISHED 6020

    C:Usersceshi>taskkill /f /t /im adb.exe

    com.xgh.remindertable
    sdkuild-toolsandroid-4.4W>aapt dump xmltree 123.apk AndroidManifest.xml
    adb shell monkey -p com.xgh.remindertable -v 500
    https://github.com/googlesamples samples

    del *.ydb /f /s /q /a

    del *.ybk /f /s /q /a

  • 相关阅读:
    MySQL中的错误
    [Err] 1064
    表单元素input 、button都要放进form里面
    【电商15】floor tab选项卡
    css三大特性——继承性:继承哪些样式
    border影响盒子大小-解决办法:
    padding影响&不影响盒子实际大小的情况
    【电商14】recom
    单行的多余文字,用省略号显示
    放精灵图的小盒子:_______;放字体图标:_______
  • 原文地址:https://www.cnblogs.com/51testing/p/7799511.html
Copyright © 2011-2022 走看看