java cpu使用情况监控 [英] java cpu usage monitoring

查看:279
本文介绍了java cpu使用情况监控的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用纯Java监控CPU使用率?

Is there a way in monitoring CPU usage using pure Java?

推荐答案

文章评论中有一个宝石其中kgiannakakis链接:

There is a gem in the comments on the article which kgiannakakis linked:

javasysmon


JavaSysMon管理流程,
报告有用的系统性能
指标跨平台。您可以将它的
视为UNIX`top'命令的
的跨平台版本,以及
杀死进程的能力。它以
的形式提供单个JAR文件/...// p>

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 /..

-works on Windows,Mac OS X,Linux和Solaris。

-works on Windows, Mac OS X, Linux, and Solaris.

这篇关于java cpu使用情况监控的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆