wmic process where caption="java.exe" get processid,caption,commandline /value
tasklist /fi "imagename eq java.exe"
tasklist | findstr "java"
查看8080端口 导出到c盘
netstat -aont | findstr "8080" > c:\8080.log
jmap -dump:live,format=b,file=d:/dump/dump.hprof 被抓取JAVA的进程号
例如
jmap -dump:live,format=b,file=d:/dump/dump.hprof 5084