From 89d6a5b0cdf4fb34c3203d8ec17d1c4cfe94f8f5 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 13 Dec 2014 00:22:53 +0100 Subject: [PATCH] sort block map before computing munin stats --- munin/nominatim_throttled_ips | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/munin/nominatim_throttled_ips b/munin/nominatim_throttled_ips index 2fa1d80e..cdfc88df 100755 --- a/munin/nominatim_throttled_ips +++ b/munin/nominatim_throttled_ips @@ -25,4 +25,4 @@ fi BASEDIR="$(dirname "$(readlink -f "$0")")" -cut -f 2 -d ' ' $BASEDIR/../settings/ip_blocks.map | uniq -c | sed 's:[[:space:]]*\([0-9]\+\) \(.*\):\2.value \1:' +cut -f 2 -d ' ' $BASEDIR/../settings/ip_blocks.map | sort | uniq -c | sed 's:[[:space:]]*\([0-9]\+\) \(.*\):\2.value \1:' -- 2.39.5