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.BrianOn May 6, 2015, at 7:06 PM, Ricardo Oda <odaric@xxxxxxxxxx> wrote:_______________________________________________Hello,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.Thanks,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
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/