zoukankan      html  css  js  c++  java
  • java.exe进程来源排查录

    解决后的一个小结:
    此处是一个tomcat端口,这种情况下,可以先在浏览器访问下看看效果,就可以快速定位

    又发现一个简单的办法:

    下面的定位过程,适用于各种场合

    无意中发现有个进程开了好多端口,很奇怪

    看看这个java.exe的启动参数:jinfo
    64位环境:jinfo -J-d64  pid

    The jinfo command prints Java configuration information for a specified Java process or core file or a remote debug server. 
    The configuration information includes Java system properties and Java Virtual Machine (JVM) command-line flags. 
    If the specified process is running on a 64-bit JVM, then you might need to specify the -J-d64 option, 
    for example: jinfo -J-d64 -sysprops pid.
    
    This utility is unsupported and might not be available in future releases of the JDK. 
    In Windows Systems where dbgeng.dll is not present, Debugging Tools For Windows must be installed to have these tools working. 
    The PATH environment variable should contain the location of the jvm.dll 
    that is used by the target process or the location from which the crash dump file was produced. 
    For example, set PATH=%JDK_HOME%jreinclient;%PATH% .

    http://docs.oracle.com/javase/8/docs/technotes/tools/unix/jinfo.html

    有一个奇怪的地方jps、jconsole.exe和jvisualvm.exe中都看不到4036的进程


    最后通过procexp64.exe来查看

    原来是Jenkins,有浏览器访问下看看:

  • 相关阅读:
    正则表达式学习(转自csdn过客)
    javascript学习笔记(二)--继承
    sql 中print 输出变量值
    禅语摘录
    dTree的分析和二次开发,ajax加载dtree节点(下)(转)
    UpdatePanel的各种情况
    Cocos2dx制作帧动画
    Cocos2dx中文显示乱码
    Struts2 过滤器与拦截器
    创业不是纸上谈兵,把你的商业计划扔进垃圾桶吧
  • 原文地址:https://www.cnblogs.com/softidea/p/6883214.html
Copyright © 2011-2022 走看看