I would print the cpu usage with this simple python script. I would write the result, erase that row and re-write on the same line as like as windows shell does with some commands. Is it possible?
import psutil #import tsutil
import time
def printit():
while(1):
print(psutil.cpu_percent())
time.sleep(3)
printit()
This print line per line. I would the result always change on the same line