extracting the cpu and memory data