CPU大小写保持一致

This commit is contained in:
风止月殇
2021-11-18 01:23:33 +00:00
committed by Gitee
parent ff70f92e9c
commit 1dc14f2997

View File

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