This commit is contained in:
zhangsheng 2025-02-08 14:40:57 +08:00
parent cece1b16ec
commit bbeeddd2ca

View File

@ -1167,7 +1167,7 @@ int GetSysStatusCMT(int& cpu_use,int& mem_use,int& disk_remain,int& cpu_temp)
int temp = getSysIntValue(key);
cpu_use = rateUser;
mem_use = fMemRate * 100;
disk_remain = atoi(strhardFree.substr(0, strhardFree.length() - 1).c_str());
disk_remain = atoi(hardFree);
cpu_temp = temp / 1000.0;
}
// 闁诲繐绻愬Λ妤€鐣烽悢鍝モ枖闁跨噦鎷<E599A6>16闁哄鏅滅粙鎴﹀春濡ゅ啠鍋撳☉娆樻畼妞ゆ垳鐒﹀顏堫敆娴ǹ绨ユ繛鎴炴尭閹碱偊顢氶鑺ュ劅闁哄啫鍊归悾閬嶆倵濞戞瑯娈欏┑鈽嗗弮瀹曟劙鏁撻敓锟<E69593>