Useful script(s) for viewing statistics about a HTCondor pool.
virtualenv env --python=python3.9.21
source env/bin/activate
pip install .There are various options available for the condor_stat.py script - see the help message for details:
$ ./condor_stat.py --help
usage: condor_stat.py [-h] [--priority] [--only {cpu,gpu}]
Display HTCondor job stats.
optional arguments:
-h, --help show this help message and exit
--priority Display user priorities.
--only {cpu,gpu} Filter jobs by machine type (CPU or GPU).- Running
condor_stat.pywill includecondor_dagmanjobs in the output, which are hidden by default incondor_q. If you see a discrepancy between the number of jobs incondor_qandcondor_stat.py, this is likely the reason. To check, runcondor_q -nobatchto show all jobs, includingcondor_dagmanjobs.