我正在尝试运行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.。语法似乎很好。我有什么错误吗?
我正在尝试运行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.。语法似乎很好。我有什么错误吗?