mirror of
https://github.com/nicolargo/glances.git
synced 2024-08-17 00:10:48 +03:00
Add cpu model for CPU info (Raspberry PI 5)
This commit is contained in:
parent
be89ee0025
commit
e5d5351d31
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user