Re-align how usage, temp, and freq are displayed
This commit is contained in:
parent
de37962dc7
commit
9a935ebd5b
|
@ -1175,7 +1175,7 @@ def sysinfo():
|
|||
|
||||
print("Core\tUsage\tTemperature\tFrequency")
|
||||
for (cpu, usage, freq, temp) in zip(cpu_core, usage_per_cpu, freq_per_cpu, temp_per_cpu):
|
||||
print(f"CPU{cpu}:\t{usage:>5.1f}% {temp:>3.0f} °C {freq:>5.0f} MHz")
|
||||
print(f"CPU{cpu} {usage:>5.1f}% {temp:>3.0f} °C {freq:>5.0f} MHz")
|
||||
|
||||
if offline_cpus:
|
||||
print(f"\nDisabled CPUs: {','.join(offline_cpus)}")
|
||||
|
|
Loading…
Reference in New Issue