mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
found variant for socket designation for L cache
This commit is contained in:
parent
9046b7873d
commit
cf1f213ae9
4
inxi
4
inxi
|
@ -7387,8 +7387,8 @@ sub cpu_cache_dmi {
|
|||
last if $item[0] > 7;
|
||||
($id,$amount) = ('',0);
|
||||
foreach my $value (@item){
|
||||
# variants: L3 - Cache; L3 Cache
|
||||
if ($value =~ /^Socket Designation: (L[1-3])\s/){
|
||||
# variants: L3 - Cache; L3 Cache; L3-cache
|
||||
if ($value =~ /^Socket Designation: (L[1-3])\b/){
|
||||
$id = $1;
|
||||
}
|
||||
if ($value =~ /^Installed Size: (.*B)$/){
|
||||
|
|
Loading…
Reference in a new issue