Skip to content

Commit

Permalink
Re-align how usage, temp, and freq are displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
AdnanHodzic committed May 21, 2023
1 parent de37962 commit 9a935eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_cpufreq/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}")
Expand Down

0 comments on commit 9a935eb

Please sign in to comment.