我正在尝试运行jstat来监视GC。我使用vmid命令获得jps:
> jps
18928 GCTest但是当我尝试像这样运行jstat时:
>jstat -gc <vmid> 18928
The system cannot find the file specified.我收到消息The system cannot find the file specified.。语法似乎很好。我犯了什么错误吗?
发布于 2015-03-23 17:49:04
就这样说吧,这应该管用:
jstat -gc 18928https://stackoverflow.com/questions/29215214
复制相似问题