Skip to content

Notes on process group control for workspace separation

Louis Maddox edited this page Sep 18, 2020 · 5 revisions

Alternative approach to full on containers(?) maybe just send SIGSTOP to ‘pause’ a set of processes by process group ID

setsid <pgid> for each workspace then kill -STOP <pgid> to pause it then kill -CONT <pgid> to unpause)

http://www.pervasivecode.com/blog/2010/04/03/unix-tip-kill-stop-and-kill-cont/ https://www.webhostinghero.com/how-to-create-a-process-group-in-linux/

Clone this wiki locally