condor_q

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

Get information about the jobs in the HTCondor job queue(s).

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.

**kwargsAny

Additional keyword arguments that need to be passed to the internal query method.

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.