开发者

How can I get system load/cpu usage from Java?

开发者 https://www.devze.com 2023-01-15 19:10 出处:网络
Normally I call in bash \"mpstat 1\". Is there an equivalent Java l开发者_如何学运维ibrary to aviod calling bash and parsing mpstat output?You can get the average for the last minute via the managemen

Normally I call in bash "mpstat 1". Is there an equivalent Java l开发者_如何学运维ibrary to aviod calling bash and parsing mpstat output?


You can get the average for the last minute via the management API.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号