mercyblitz opened a new issue #1641: the algorithm of load issue on Windows
URL: https://github.com/apache/incubator-dubbo/issues/1641
 
 
   @alphatan 
   
   ---
   My research of this problem.
   
   According to [this answer](https://stackoverflow.com/a/28751028/5671078) of 
the question "Alternate of getSystemLoadAverage() for Windows?", the method  
`getSystemLoadAverage`  of java.lang.management.OperatingSystemMXBean would 
return `-1` in `Windows`.
   
   It'd be suggested to use `com.sun.management.OperatingSystemMXBean` and its 
`getSystemCpuLoad()` and `getProcessCpuLoad()` instead.
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to