On 14 August 2017 at 16:22, John Hearns <[email protected]> wrote:
> Lachlan, forgive me if I am teaching granny to suck eggs..,, > I have recently been workign with cgroups. > If you run an interactive job what do you see when cat /proc/self/cgroups > Also have you explored in /sys/fs/cgroups and checked what resources are > in the cgroups which a job has? > Thanks John. Embarrassingly, I hadn't thought of checking those obvious points. Cheers I guess I'm not 100% sure what I'm looking for, but I do see that there is a 1:name=systemd:/user.slice/user-0.slice/session-373.scope in /proc/self/cgroup and that /sys/fs/cgroup/systemd has a user.slice - so something is working right :) Looks like there are only three tasks in `cat /sys/fs/cgroup/systemd/user.slice/user-0.slice/session-373.scope/cgroup.procs`: 5248 5252 5381 Interesting that htop has it coming up as using four cpus. L. ------ "The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics is the insistence that we cannot ignore the truth, nor should we panic about it. It is a shared consciousness that our institutions have failed and our ecosystem is collapsing, yet we are still here — and we are creative agents who can shape our destinies. Apocalyptic civics is the conviction that the only way out is through, and the only way through is together. " *Greg Bloom* @greggish https://twitter.com/greggish/status/873177525903609857
