-#! ./tesh
+#!/usr/bin/env tesh
p Testing the mechanism for computing host energy consumption in case of VMs
> [ 6.000000] (6:p31@MyHost3) This worker is done.
> [ 6.000000] (3:p12@vm_host1) This worker is done.
> [ 6.000000] (2:p11@vm_host1) This worker is done.
-> [ 6.000000] (4:p21@vm_host3) This worker is done.
+> [ 6.000000] (4:p21@vm_host2) This worker is done.
> [ 10.000000] (0:maestro@) Total energy consumption: 4320.000000 Joules (used hosts: 4320.000000 Joules; unused/idle hosts: 0.000000)
> [ 10.000000] (0:maestro@) Total simulation time: 10.00; Host2 and Host3 must have the exact same energy consumption; Host1 is multi-core and will differ.
> [ 10.000000] (0:maestro@) Energy consumption of host MyHost1: 1120.000000 Joules