Is there a way to get a list of cloudlets that are currently executing and waiting in a Vm? I see that Cloudlet Scheduler does this with the getCloudletList(). The method says "Gets a read-only List of all cloudlets which are either waiting or executing on the VM." This is exactly what I want but I'm not sure if I can call this method. I saw that DatacenterBrokerAbstract had the method getCloudletWaitingList() but upon reading the JavaDoc: "Gets the list of cloudlets submitted to the broker that are waiting to be created inside some Vm yet", I think it's not the same thing as the other method I'd want to use in CloudletScheduler. I want cloudlets that have already been created and are either waiting or executing in a vm.
I thought about checking a cloudlets status (QUEUED and INEXEC) and Vms they are associated with (getVm) they are executed on and then filter them to find the cloudlets that are executing and waiting on a particular Vm. I wanted to do this because I wanted to find the Vm with the shortest total mips in all the cloudlets it has.