From 97b4609a7562996b4d11755b9ff8c7bf3c1c02c6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 13 Mar 2022 11:03:26 +0000 Subject: [PATCH] Script to show thread events --- scripts/threads | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/threads diff --git a/scripts/threads b/scripts/threads new file mode 100755 index 000000000..3ef9c00e4 --- /dev/null +++ b/scripts/threads @@ -0,0 +1,7 @@ +#!/bin/bash +journalctl -u epicyon | grep 'THREAD:' > .threads.txt +if [ ! -f .threads.txt ]; then + echo 'No thread events' +else + cat .threads.txt +fi