get current CPU and RAM usage,"pid = os.getpid()