Hi, On 3/11/2023 11:50 pm, Nikhil Agarwal wrote:
Hi All,getProcessCPULoad returns different CPU percentage as compared to top linux command intermittently . Does it supposed to returned same data as top command always . Should the getProcessCPULoad value be same as top/number of cpus always ?
I've no idea how top calculates what it does. The VM reads the first line of /proc/stat to get the various tick counters.
HTH. David
regards Nikhil