[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] /proc/<pid>/cgroup
From: andrew.lahiff@xxxxxxxxxx
Date: 03/16/2016 05:09 AM
Subject: Re: [HTCondor-users] User process tree w/PPID=1
: not valid (runaway/breakaway), confirmed?
> Hi Winnie,
>
> I can't remember if Bristol is using cgroups or not, but if you are,
you
> can easily find out what job is associated with any process:
>
> cat /proc/<pid>/cgroup
ZOMG!
Two years ago I wrote an absurd little script that
parsed the job ad and
figured out the cgroup name, and then rehashed it
when the cgroup name
format changed.
THANK YOU for simplifying my script!!
This little tidbit would be a great addition to Section
3.12.12 of the manual!
Or better yet, a great addition to the job ClassAd...
-Michael Pelletier.