]> johannes.truschnigg.info Git - sqm_lagthrottle/commitdiff
Prefix non-essential output with "# "
authorJohannes Truschnigg <johannes@truschnigg.info>
Sat, 12 Mar 2022 15:01:32 +0000 (16:01 +0100)
committerJohannes Truschnigg <johannes@truschnigg.info>
Sat, 12 Mar 2022 15:01:32 +0000 (16:01 +0100)
__lagdetect.awk

index 53edfdd486e277dac2effbd5a7da57bc3ed9cb32..2f90fcee0acfcca912a231fbe0351a23f380da03 100644 (file)
@@ -1,12 +1,12 @@
 #!/usr/bin/awk -f
 BEGIN {
-  print "THRESHOLD=" THRESHOLD
-  print "FUDGE=" FUDGE
-  print "PINGSLOTS=" PINGSLOTS
+  print "THRESHOLD=" THRESHOLD
+  print "FUDGE=" FUDGE
+  print "PINGSLOTS=" PINGSLOTS
   split(PING_PEERS, pps, " ")
   for (pp in pps) {
     pn = pps[pp]
-    print "PEERS+=" pn
+    print "PEERS+=" pn
     slotindex[pn]=0 # used to cycle thru PINGSLOTS per PEER
     have_baseline[pn]=0 # do we have enough data to make informed decisions?
     ping_min[pn]=65535 # minimum latency observed for PEER