mirror of
https://github.com//cppla/ServerStatus
synced 2025-12-14 09:42:04 +08:00
持续获取io
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user