Currently i use psutil
for getting RAM percentage
print (' ')
print ('----------------------CPU Information summary----------------------')
print (' ')
# gives a single float value
vcc=psutil.cpu_count()
print ('Total number of CPUs :',vcc)
vcpu=psutil.cpu_percent()
print ('Total CPUs utilized percentage :',vcpu,'%')
But when I run the code i get this
----------------------CPU Information summary----------------------
Total number of CPUs : 8
Total CPUs utilized percentage : 0.0 %
But i want it print the CPU % in task manager