On 16 August 2017 at 00:14, Will French <[email protected]> wrote:

> > On Aug 15, 2017, at 5:29 AM, Chris Samuel <[email protected]> wrote:
> >
> >
> > On Tuesday, 15 August 2017 4:34:55 PM AEST John Hearns wrote:
> >
> >> For the /proc/self you need to start an interactive job under Slurm.
> >
> > You can actually use srun to join an existing job via the --jobid option.
> >
> > [samuel@barcoo ~]$ srun --jobid 6821761 --pty -u /bin/bash -i -l
> > [samuel@barcoo033 ~]$
> > [samuel@barcoo033 ~]$ cat /proc/self/cgroup
> > 4:cpuacct:/slurm/uid_500/job_6821761/step_1/task_0
> > 3:memory:/slurm/uid_500/job_6821761/step_1
> > 2:cpuset:/slurm/uid_500/job_6821761/step_1
> > 1:freezer:/slurm/uid_500/job_6821761/step_1
> > [samuel@barcoo033 ~]$ logout
> > [samuel@barcoo ~]$
> >
>
> This is very handy! Thanks for sharing, Chris.
>

Yes! Broke my brain a little bit, but makes sense. Thanks.
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

Reply via email to