Created
January 12, 2017 06:50
-
-
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
This file contains 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
#!/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