mirror of
https://github.com//cppla/ServerStatus
synced 2025-07-05 08:55:59 +08:00
持续获取io
This commit is contained in:
parent
5176cb0340
commit
47cf7a1818
@ -222,6 +222,7 @@ def _disk_io():
|
||||
磁盘读写有误差:4k,8k ,https://stackoverflow.com/questions/34413926/psutil-vs-dd-monitoring-disk-i-o
|
||||
:return:
|
||||
'''
|
||||
while True:
|
||||
# pre pid snapshot
|
||||
snapshot_first = {}
|
||||
# next pid snapshot
|
||||
|
Loading…
x
Reference in New Issue
Block a user