!466 CPU大小写保持一致

Merge pull request !466 from 风止月殇/v5-dev
This commit is contained in:
Looly 2021-11-18 02:54:15 +00:00 committed by Gitee
commit 8426d7204f

View File

@ -14,7 +14,7 @@ public class CpuInfo {
private static final DecimalFormat LOAD_FORMAT = new DecimalFormat("#.00"); private static final DecimalFormat LOAD_FORMAT = new DecimalFormat("#.00");
/** /**
* cpu核心数 * CPU核心数
*/ */
private Integer cpuNum; private Integer cpuNum;
@ -157,7 +157,7 @@ public class CpuInfo {
@Override @Override
public String toString() { public String toString() {
return "CpuInfo{" + return "CpuInfo{" +
"cpu核心数=" + cpuNum + "CPU核心数=" + cpuNum +
", CPU总的使用率=" + toTal + ", CPU总的使用率=" + toTal +
", CPU系统使用率=" + sys + ", CPU系统使用率=" + sys +
", CPU用户使用率=" + used + ", CPU用户使用率=" + used +