sampling workload and power consumption of linux system