condor_q

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

Query HTCondor for current jobs.

Parameters:
constraint : str, optional

Constraints to be passed to job query.

schedds : dict [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_info : dict [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.