Skip to content

Instantly share code, notes, and snippets.

@sohocoke
Created January 12, 2017 06:50
Show Gist options
  • Save sohocoke/e5a996c4ef400d5d8e32ef3542d25932 to your computer and use it in GitHub Desktop.
Save sohocoke/e5a996c4ef400d5d8e32ef3542d25932 to your computer and use it in GitHub Desktop.
macOS CLI one-liner to resume all processes stuck in 'paused' state, typically after running out of disk space
#!/usr/bin/env bash
ps aux | grep Ss | awk '{ print $2 }' | xargs -- kill -CONT
# TODO improve the crude filter for 'Ss'
# TODO filter for username
# IMPROVE add an option for interactive operation (list, then perform)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment