Script to show thread events

merge-requests/23/head
Bob Mottram 2022-03-13 11:03:26 +00:00
parent d611889d76
commit 97b4609a75
1 changed files with 7 additions and 0 deletions

7
scripts/threads 100755
View File

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