teddysun / across

Across the Great Wall we can reach every corner in the world
https://teddysun.com
Apache License 2.0
4.94k stars 2.22k forks source link

fix: fix processor name contain 'processor' issue #114

Closed allen0099 closed 9 months ago

allen0099 commented 9 months ago

When model name contain processor, such as 'Common KVM processor', it will cause a false calculate in processor.

To prevent this, add ^ to make sure it only count the line start with processor.

Before:

image

After:

image
xianrennet commented 9 months ago

您好,您的邮件已收到,我将尽快回复您。如是删除信息,我们将在5个工作日内处理,请尽量使用密码删除信息,如预留邮箱,可自助找回密码,不便之处敬请谅解。------------------------------本邮件为自动回复,谢谢!

teddysun commented 9 months ago

Thanks and merged.