From 3a93ff8c137962efd10b676bbef97207d9435e01 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Nov 2019 19:25:04 +0000 Subject: [PATCH] Script to show benchmarks --- benchmarks | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 benchmarks diff --git a/benchmarks b/benchmarks new file mode 100755 index 000000000..fdb9ad645 --- /dev/null +++ b/benchmarks @@ -0,0 +1,7 @@ +#!/bin/bash +if [ -d /etc/epicyon ]; then + cd /etc/epicyon || exit 0 +else + cd /opt/epicyon || exit 0 +fi +journalctl -u epicyon | grep "BENCHMARK GET|0\|BENCHMARK POST|0" | awk -F 'BENCHMARK' '{print $2}' | uniq | sort -r | head -n 20 \ No newline at end of file