Get current cpu and memory usage