mirror of https://github.com/cppla/ServerStatus
持续获取io
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
|
磁盘读写有误差: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
|
||||||
|
|
Loading…
Reference in New Issue