我在 UAT 服务器上的 linux 上使用 YourKit profiler 作为代理。配置是:
agentpath:/home/build/libyjpagent.so=sampling,monitors,delay=25200000
.snapshot 文件仅在我关闭应用程序时保存。如何在不停止应用程序的情况下获取快照?telemetrylimit 不是一个选项
您只能定期捕获快照 https://www.yourkit.com/docs/java/help/periodic.jsp
或通过 YourKit 客户端工具连接到已分析的应用程序,然后单击“捕获快照”按钮 https://www.yourkit.com/docs/java/help/connect.jsp