mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
another cell try
This commit is contained in:
parent
1871cef434
commit
bacb436798
6
inxi
6
inxi
|
@ -773,9 +773,9 @@ get_cpu_data()
|
|||
# Therefore PATCH to use [ \t]+ when TESTING!
|
||||
/^processor\t+:/ { nr = $NF }
|
||||
|
||||
/^model name/ { cpu[nr, "model"] = $NF }
|
||||
/^model name|^cpu\t+:/ { cpu[nr, "model"] = $NF }
|
||||
|
||||
/^cpu MHz/ {
|
||||
/^cpu MHz|^clock\t+:/ {
|
||||
if (!min) {
|
||||
min = $NF
|
||||
}
|
||||
|
@ -786,8 +786,6 @@ get_cpu_data()
|
|||
if ($NF > max) { max = $NF }
|
||||
cpu[nr, "speed"] = $NF
|
||||
}
|
||||
## this is for PS3 only, Cell cpus
|
||||
/^clock/ { cpu[nr, "speed"] = $NF }
|
||||
|
||||
/^cache size/ { cpu[nr, "cache"] = $NF }
|
||||
|
||||
|
|
Loading…
Reference in a new issue