Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save CroneKorkN/4e50ad5389e846ffd4d0df66bda65e7a to your computer and use it in GitHub Desktop.
Save CroneKorkN/4e50ad5389e846ffd4d0df66bda65e7a to your computer and use it in GitHub Desktop.
toucbar
return do shell script "echo cpu $(ps axo %cpu | awk '{s+=$1}END{print s}' | cut -f 1 -d '.')%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment