How do I monitor the CPU utilization for each VM and the system response time when the cloudlets are running in constant intervals in CloudSim (for example every 5 minutes)?
I know that getTotalUtilizationOfCpu() function of VM class is used to get CPU utilization of VMs, but I don't know where to call this function.

Thanks for any help.