Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Corralling Processes on Linux



On Sat, Jan 20, 2018 at 03:56:34PM -0500, Kent Borg wrote:
> Is there a way to do this with daemonized processes? I create an
> oddball collection, and want the ability to kill the whole lot.
... 
> Why I am doing this: I am playing with lots of different processes
> communicating with each other, maybe some coming and going
> incrementally. I want the ability occasionally kill them all and
> start from a clean slate. ("Oh, I had two of that one running for
> the last hour! Silly /me/ to waste all that time!" ...I want to
> avoid that set of bugs.)

systemd has a few features which might work well for your use case:

https://linuxaria.com/article/how-to-manage-processes-with-cgroup-on-systemd

https://wiki.archlinux.org/index.php/Systemd/User



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org