Script to show benchmarks

main
Bob Mottram 2019-11-15 19:25:04 +00:00
parent d921448984
commit 3a93ff8c13
1 changed files with 7 additions and 0 deletions

7
benchmarks 100755
View File

@ -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