TomasTomecek / sen

Terminal User Interface for containers.
MIT License
990 stars 61 forks source link

Read alternative cpu-count safely #168

Closed soyo42 closed 2 years ago

soyo42 commented 2 years ago

In docker api v1.41 there is no "percpu_usage" field in stats response (.cpu_stats.cpu_usage.percpu_usage). Now the alternative value yields 1.

TomasTomecek commented 2 years ago

Thanks!