From 07340037785808afa82d381d415d7cc9fb1fc504 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 9 Nov 2023 13:34:47 -0500 Subject: [PATCH] speed up aspath script --- scripts/aspath | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aspath b/scripts/aspath index 59d3467..54d2803 100755 --- a/scripts/aspath +++ b/scripts/aspath @@ -8,7 +8,7 @@ if [ -z "$1" ]; then fi # Parse out the ASNs -asns=$( mtr -jzc1 $1 | jq ".report.hubs[].ASN" | tr -d "\"" | uniq ) +asns=$( mtr -jzc1 -Z1 -G0.25 $1 | jq ".report.hubs[].ASN" | tr -d "\"" | uniq ) # For each line for asn in $asns; do