TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Terminal-based "AppNap" for today

1 pointsby tjcelayaalmost 12 years ago
Pause with: ps -cx | grep -i $1 | awk &#x27;{print $1}&#x27; | xargs kill -s SIGSTOP<p>Unpause with: ps -cx | grep -i $1 | awk &#x27;{print $1}&#x27; | xargs kill -s SIGCONT<p>[the difference is SIG{STOP,CONT}, also this is for convenience, so I prefer -i ]<p>Hope this helps someone, as with anything terminal-based: USE WITH CAUTION

no comments

no comments