epicyon/scripts/benchmarks

8 lines
267 B
Plaintext
Raw Normal View History

2019-11-15 19:25:04 +00:00
#!/bin/bash
if [ -d /etc/epicyon ]; then
cd /etc/epicyon || exit 0
else
cd /opt/epicyon || exit 0
fi
2019-11-15 22:50:47 +00:00
journalctl -u epicyon -r | grep "BENCHMARK GET|0\|BENCHMARK POST|0" | head -n 50 | grep "|ID" | awk -F 'BENCHMARK' '{print $2}' | uniq | sort -r | head -n 20