Re: [systemd-devel] Systemd, cgroups and short-lived processes

2017-05-08 Thread Boris Dolgov
Hi Lennart, thanks for your answer! Please, see some more questions below. On Wed, May 3, 2017 at 11:54 PM, Lennart Poettering wrote: > On Wed, 03.05.17 18:02, Boris Dolgov ([email protected]) wrote: > >> Hello! >> >> I am using systemd and repeatedly need to do the following: >> - Start a proce

Re: [systemd-devel] Systemd, cgroups and short-lived processes

2017-05-03 Thread Lennart Poettering
On Wed, 03.05.17 18:02, Boris Dolgov ([email protected]) wrote: > Hello! > > I am using systemd and repeatedly need to do the following: > - Start a process with memory limit and cpu affinity; > - Be notified when it and all its children are finished (typically in > 0.01-1 second); > - Get cpu an

[systemd-devel] Systemd, cgroups and short-lived processes

2017-05-03 Thread Boris Dolgov
Hello! I am using systemd and repeatedly need to do the following: - Start a process with memory limit and cpu affinity; - Be notified when it and all its children are finished (typically in 0.01-1 second); - Get cpu and memory usage statistics. Cgroups look perfect for me, but what is the best w