Created
May 11, 2018 18:17
-
-
Save mpentler/fac70729eeb77bc18d8762fa52cb5b8f to your computer and use it in GitHub Desktop.
Simple script for a shorter, more useful BOINC status output. Plus a temperature readout!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/sh | |
echo "Current BOINC status:\n" | |
output=$(boinccmd --get_state | sed -n -e '/======== Tasks ========/,$p' | head -n -17) | |
echo "$output" | |
echo "\n $(boinccmd --get_state | grep -c active_task_state) tasks running:\n" | |
boinccmd --get_state | grep active_task_state | |
echo "\nCPU Temp: $(vcgencmd measure_temp | cut -d "=" -f 2)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment