You've already forked ServerStatus
mirror of
https://github.com/cppla/ServerStatus.git
synced 2025-12-19 11:33:57 +08:00
add windows packetLostRate
This commit is contained in:
@@ -162,6 +162,7 @@ def _ping_thread(host, mark):
|
||||
lostCount = 0
|
||||
allCount = 0
|
||||
startTime = time.time()
|
||||
output.readline()
|
||||
while True:
|
||||
if 'ttl' not in output.readline():
|
||||
lostCount += 1
|
||||
|
||||
Reference in New Issue
Block a user