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

Re: [HTCondor-users] PID of a running job

Hi Ricardo,

I've been trying to come up with a clever way to do this, but I've not been able to come up with something simple.

Here's something not-simple:
- Use the "update job info" hook (http://research.cs.wisc.edu/htcondor/manual/v8.3/4_4Hooks.html#SECTION00541100000000000000) to get information about the running job.
- From within the update hook script, invoke /usr/libexec/condor/condor_chirp to push a JobPid attribute from worker node to schedd.


On May 6, 2015, at 7:06 PM, Ricardo Oda <odaric@xxxxxxxxxx> wrote:


Is there a good programmatically way to get the os process id (PID) of a running job on the host machine? I've not found a classad that shows it.

The way I'm working right now is using cgroups and monitoring the child groups (folders) of the my BASE_CGROUP, but maybe there's a simpler/easier way.


Ricardo Oda
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: