print cpu and memory usage on linux