Show HN: Terminal-based "AppNap" for today1 points·by tjcelaya·13 ปีที่แล้ว·0 commentsPause with: ps -cx | grep -i $1 | awk '{print $1}' | xargs kill -s SIGSTOPUnpause with: ps -cx | grep -i $1 | awk '{print $1}' | xargs kill -s SIGCONT[the difference is SIG{STOP,CONT}, also this is for convenience, so I prefer -i ]Hope this helps someone, as with anything terminal-based: USE WITH CAUTION0 commentsPost comment—
Unpause with: ps -cx | grep -i $1 | awk '{print $1}' | xargs kill -s SIGCONT
[the difference is SIG{STOP,CONT}, also this is for convenience, so I prefer -i ]
Hope this helps someone, as with anything terminal-based: USE WITH CAUTION