Re-align how usage, temp, and freq are displayed

This commit is contained in:
Adnan Hodzic 2023-05-21 13:10:44 +02:00
parent de37962dc7
commit 9a935ebd5b
1 changed files with 1 additions and 1 deletions

View File

@ -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)}")