From bacb436798c4517695024a4745cf8ae1622da6a7 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 4 Nov 2008 04:10:03 +0000 Subject: [PATCH] another cell try --- inxi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index 4e42d9f..51786d3 100755 --- a/inxi +++ b/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 }