Skip to content

Instantly share code, notes, and snippets.

@mpentler
Created May 11, 2018 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpentler/fac70729eeb77bc18d8762fa52cb5b8f to your computer and use it in GitHub Desktop.
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!
!/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