From e5d5351d3164d7ef98638ebf8778cefba013bec2 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Wed, 26 Jun 2024 18:12:56 +0200 Subject: [PATCH] Add cpu model for CPU info (Raspberry PI 5) --- glances/cpu_percent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/cpu_percent.py b/glances/cpu_percent.py index 65bfa154..baa3b359 100644 --- a/glances/cpu_percent.py +++ b/glances/cpu_percent.py @@ -73,7 +73,7 @@ class CpuPercent: pass else: for line in cpuinfo_file: - if line.startswith('model name') or line.startswith('Model'): + if line.startswith('model name') or line.startswith('Model') or line.startswith('cpu model'): ret = line.split(':')[1].strip() break return ret if ret else 'CPU'