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