有没有一种方法可以使用纯 Java 监控 CPU 使用情况?
最佳答案
在 kgiannakakis 链接的文章的评论中有一个 gem:
JavaSysMon manages processes and reports useful system performance metrics cross-platform. You can think of it as a cross-platform version of the UNIX `top’ command, along with the ability to kill processes. It comes in the form of a single JAR file /..
- 适用于 Windows、Mac OS X、Linux 和 Solaris。
关于java cpu使用监控,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2062440/