java.exe進程來源排查錄

來源:互聯網
上載者:User

標籤:windows   啟動   環境   解決   exe   debugging   virt   lease   pre   

 

解決後的一個小結:
此處是一個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%\jre\bin\client;%PATH% .

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

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


 

最後通過procexp64.exe來查看

 

 

原來是Jenkins,有瀏覽器訪問下看看:

 

java.exe進程來源排查錄

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.