Notes on process group control for workspace separation - lmmx/devnotes GitHub Wiki
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)
-
TODO: clarify if
setsidis session ID (as name suggests) rather than process group id? -
Good dive into process exploration with
ps j -A- sending a negative process value to
killkills that process group ID rather than the process ID
- sending a negative process value to
-
pkillwhich takes-gargument for process group ID