持续获取io

This commit is contained in:
cppla 2022-04-01 15:37:43 +08:00
parent 5176cb0340
commit 47cf7a1818

@ -222,6 +222,7 @@ def _disk_io():
磁盘读写有误差4k8k https://stackoverflow.com/questions/34413926/psutil-vs-dd-monitoring-disk-i-o
:return:
'''
while True:
# pre pid snapshot
snapshot_first = {}
# next pid snapshot