Created
May 14, 2021 21:28
-
-
Save microbug/1b967ad1f4ca45e6f007b9a44a72f9ae to your computer and use it in GitHub Desktop.
Pause Chia plots (Linux)
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
#!/usr/bin/env bash | |
# Send SIGSTOP (pause) to all plot processes | |
ps aux | grep "[c]hia plots create" | awk '{print $2}' | xargs kill -STOP |
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
#!/usr/bin/env bash | |
# Send SIGCONT (resume) to all plot processes | |
ps aux | grep "[c]hia plots create" | awk '{print $2}' | xargs kill -CONT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment