mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
found even more cache variant syntaxes!
This commit is contained in:
parent
eb6294f0b0
commit
d2b452218c
4
inxi
4
inxi
|
@ -7389,8 +7389,8 @@ sub cpu_cache_dmi {
|
|||
splice @item, 0, 3;
|
||||
($id,$amount) = ('',0);
|
||||
foreach my $value (@item){
|
||||
# variants: L3 - Cache; L3 Cache; L3-cache
|
||||
if ($value =~ /^Socket Designation: (L[1-3])\b/){
|
||||
# variants: L3 - Cache; L3 Cache; L3-cache; CPU Internal L1
|
||||
if ($value =~ /^Socket Designation:.* (L[1-3])\b/){
|
||||
$id = $1;
|
||||
}
|
||||
# some cpus only show Socket Designation: Internal cache
|
||||
|
|
Loading…
Reference in a new issue