added printing of cpu usage