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

psutil.cpu_percent()
psutil.virtual_memory()

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