mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
commit
8426d7204f
@ -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 +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user