mirror of
https://github.com//cppla/ServerStatus
synced 2025-07-04 08:25:58 +08:00
disk io not in win
This commit is contained in:
parent
c77e00476c
commit
d5af5445df
@ -223,7 +223,7 @@ def _disk_io():
|
|||||||
磁盘读写有误差:4k,8k ,https://stackoverflow.com/questions/34413926/psutil-vs-dd-monitoring-disk-i-o
|
磁盘读写有误差:4k,8k ,https://stackoverflow.com/questions/34413926/psutil-vs-dd-monitoring-disk-i-o
|
||||||
macos,暂不处理。
|
macos,暂不处理。
|
||||||
"""
|
"""
|
||||||
if "darwin" in sys.platform:
|
if "darwin" in sys.platform or "win" in sys.platform:
|
||||||
diskIO["read"] = 0
|
diskIO["read"] = 0
|
||||||
diskIO["write"] = 0
|
diskIO["write"] = 0
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user