condor_q

lsst.ctrl.bps.htcondor.condor_q(constraint=None, schedds=None)

Query HTCondor for current jobs.

Parameters:
constraintstr, optional

Constraints to be passed to job query.

scheddsdict [str, htcondor.Schedd], optional

HTCondor schedulers which to query for job information. If None (default), the query will be run against local scheduler only.

Returns:
job_infodict [str, dict [str, dict [str Any]]]

Information about jobs satisfying the search criteria where for each Scheduler, local HTCondor job ids are mapped to their respective classads.