Failed to start monitoring

今天写程序,写着写着突然发现eclipse 链接的设备显示 offline、unknown。adb 没说原因,重启设备,电脑,adb kill-server/adb start-server都没用。废了些劲才在网上找到线索。

1、问题

如图:


2、寻找问题

网上发现有人说“adb nodaemon server”指令可以发现adb 连接不上的原因ok  cmd==>adb nodaemon server

如图:

3、发现问题

这样问题就很明显了  "5037"端口被占用,然后再看看谁和adb冲突了,程序员的性格,挡我编程序虽远必诛!

“netstat -aon|findstr 端口”查看端口占用信息,如图:


4、他就是凶手

凶手就是他,找到了,打开任务管理器,果断kill,如图:


OK,Kill it,Today is nice day!

over.

  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
非常好weblogic诊断教程 Oracle WebLogic Server 10g R3: Troubleshooting Methodologies Duration: 3 Days What you will learn This course teaches the steps to identify the symptoms and causes of the issues, the method of investigating the issues and the ways ofresolving the issues in various types of environments. This course provides administrators with the tools for supporting an enterprise infrastructure and helps to significantly improve operational efficiencies. Learn to: Identify, investigate, and resolve issues while administering WLS Use tools that support diagnosis of issues and help resolve the issues Audience Web Administrator Prerequisites Required Prerequisites Oracle WebLogic Server 10g R3: System Administration Suggested Prerequisites Basic knowledge of the Java programming language Working knowledge of the Java Virtual Machine Working knowledge with Linux Operating System Course Objectives List the uses of software patterns when troubleshooting Identify common system problematic behavior Describe the causes of and identify how to investigate problematic behavior List the steps to resolve the behavior causing the problems Course Topics Introduction to Diagnostic Patterns Overview of Patterns What is a Pattern Identifying Support Pattern Methodology Why Use Support Patterns Identifying Support Pattern Resources Common Diagnostic Tools JVM Management: Java SE 6.0 Monitoring and Management Architecture Identifying Processes and Threads Obtaining a Thread Dump Using WLS Memory: Define Java Heap Garbage Collection Review Configuring JRockit Heap Server Core Dump Pattern Identifying Server Core Dump Pattern Symptoms and Causes of a Server Core Dump Identifying Why Core File is Not Produced Investigating Causes of Server Core Dump Overview of Investigation Overview of Core File Tools Overview of Standard Investigation Tools Creating Troubleshooting Checklist Generic Server Hang Pattern Symptoms and Causes of a Server Hang Investigation of Server Hang Basic Investigation Steps View the Execute Threads Thread Dump on a Running Server Analysis and Troubleshooting Investigation Results Setting Server Thread Counts Troubleshooting Strategy Identifying High CPU Usage Pattern and Describing Resolution Steps Identifying High CPU Usage Pattern Review: Processes and Threads Investigating High CPU Usage: On Solaris, Linux, and Windows OS Analyzing the Server Instance to Determine What Threads are Causing the Issue Using the Analyzed Information to Identify Areas Where Performance Tuning is Required Analyzing and Diagnosing Out of Memory/Memory Leak Patterns Review of General Memory Concepts: Java Heap, Native Memory, and Memory Leaks Investigating Java Heap Out of Memory Errors Review Garbage Collection and Object References Symptoms, Causes, and Troubleshooting of Out of Memory in Java Heap Investigating Out of Native Memory Conditions Review: Process Size, Virtual vs. Physical Memory Symptoms, Causes, and Troubleshooting of Native Out of Memory Conditions Generic JDBC Pattern Understanding Generic JDBC Pattern Review: JDBC Database, Datasources, Connection Pool, and Statement Cache Investigating JDBC Problems Server Startup: Failed Pool Creation Causes of Resource Exceptions Overview of Insufficient Connections Troubleshooting WebLogic Server Crashes Troubleshooting WebLogic Server or Application Hangs and Memory Leaks Troubleshooting Too Many Open Files Pattern Symptoms, Causes, and Troubleshooting of Too Many Open Files Problem Copyright

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值