get average cpu usage