fix/TS-5533-revert-add-osupdate-when-monitor
This commit is contained in:
parent
f9d26c7df3
commit
75650908ba
|
@ -74,10 +74,6 @@ void dmGetMonitorSystemInfo(SMonSysInfo *pInfo) {
|
||||||
}
|
}
|
||||||
pInfo->mem_total = tsTotalMemoryKB;
|
pInfo->mem_total = tsTotalMemoryKB;
|
||||||
pInfo->disk_engine = 0;
|
pInfo->disk_engine = 0;
|
||||||
code = osUpdate();
|
|
||||||
if (code != 0) {
|
|
||||||
dError("failed to update os info since %s", tstrerror(code));
|
|
||||||
}
|
|
||||||
pInfo->disk_used = tsDataSpace.size.used;
|
pInfo->disk_used = tsDataSpace.size.used;
|
||||||
pInfo->disk_total = tsDataSpace.size.total;
|
pInfo->disk_total = tsDataSpace.size.total;
|
||||||
code = taosGetCardInfoDelta(&pInfo->net_in, &pInfo->net_out);
|
code = taosGetCardInfoDelta(&pInfo->net_in, &pInfo->net_out);
|
||||||
|
|
Loading…
Reference in New Issue