log cpu and memory