summaryrefslogtreecommitdiffstats
path: root/ping-ssh
diff options
context:
space:
mode:
Diffstat (limited to 'ping-ssh')
-rwxr-xr-xping-ssh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ping-ssh b/ping-ssh
index a35e44c..711d8b6 100755
--- a/ping-ssh
+++ b/ping-ssh
@@ -36,6 +36,7 @@ for i in range(repeat):
time = end - start
times.append(time)
print("{:.5f}ms".format(time * 1000))
+ sys.stdout.flush()
print("")
print("mean: {:.5f}ms".format(statistics.mean(times) * 1000))