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
|
磁盘读写有误差:4k,8k ,https://stackoverflow.com/questions/34413926/psutil-vs-dd-monitoring-disk-i-o
|
||||||
:return:
|
:return:
|
||||||
'''
|
'''
|
||||||
|
while True:
|
||||||
# pre pid snapshot
|
# pre pid snapshot
|
||||||
snapshot_first = {}
|
snapshot_first = {}
|
||||||
# next pid snapshot
|
# next pid snapshot
|
||||||
|
|||||||
Reference in New Issue
Block a user