Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在 tomcat 上运行的 webapp,我想在运行时使用 jstat 查看垃圾收集。
我有命令:
jstat.exe -gc <vmid> 1000
我怎样才能找到它vmid是什么?
vmid
vmid本质上是JVM进程的PID
您有多种选择来查找 JVM 的 PID
ps