human
get current CPU and RAM usage
assistant
Here is some code to get current RAM usage of current program

pid = os.getpid()
py = psutil.Process(pid)
memoryUse = (py.memory_info()[0] / (2.0 ** 30))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.