I use library JavaSysMon to get processes name list but the class ProcessInfo
has methods getResidentBytes()
, getSystemMillis()
.
How to calculate cpu usage for process ?
I use library JavaSysMon to get processes name list but the class ProcessInfo
has methods getResidentBytes()
, getSystemMillis()
.
How to calculate cpu usage for process ?