views:

63

answers:

1

Normally I call in bash "mpstat 1". Is there an equivalent Java library to aviod calling bash and parsing mpstat output?

A: 

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

erickson