Settings

Theme

Show HN: Terminal-based "AppNap" for today

1 points by tjcelaya 13 years ago · 0 comments · 1 min read


Pause with: ps -cx | grep -i $1 | awk '{print $1}' | xargs kill -s SIGSTOP

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

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection