Monitoring the CPU utilization and the response time

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.

Comments

  • If your application is Java-based you can consider using JMXMon Sample Collector which allows collecting and plotting arbitrary JMX Attributes so you will be able to get System CPU Load

Sign In or Register to comment.