epicyon/scripts/threads

8 lines
154 B
Bash
Executable File

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