epicyon/scripts/threads

8 lines
154 B
Plaintext
Raw Permalink Normal View History

2022-03-13 11:03:26 +00:00
#!/bin/bash
journalctl -u epicyon | grep 'THREAD:' > .threads.txt
if [ ! -f .threads.txt ]; then
echo 'No thread events'
else
cat .threads.txt
fi