CONDOR_STATUS(1)
๐ CONDOR_STATUS(1) ๐
okay so bestie, welcome to the HTCondor Manual page for condor_status โ part 1 of 3, and yes we're doing this, it's giving โจessential toolโจ energy. no cap, this one's a whole vibe.
๐ NAME ๐
condor_status โ HTCondor Manual ๐
Display status of the HTCondor pool. periodt.
๐ฆ SYNOPSIS ๐ฆ
condor_status [-debug ] [help options ] [query options ] [display options ] [custom options ] [name ... ]
๐ธ DESCRIPTION ๐ธ
condor_status is a versatile little icon ๐
that you can use to monitor and query the HTCondor pool. she can query resource information, submitter information, and daemon master information. the specific query she sends and the resulting info display are totally controlled by the query options you hand her. and yes, queries and display formats can be customized. main character energy fr fr.
The options you can give to condor_status belong to five groups:
- Help options provide information about the
condor_statustool. - Query options control the content and presentation of status information.
- Display options control the display of the queried information.
- Custom options allow the user to customize query and display information.
- Host options specify specific machines to be queried.
At any time, only one help option, one query option and one display option may be specified. Any number of custom options and host options may be specified. slay.
โจ OPTIONS โจ
-debugโ causes debugging information to be sent tostderr, based on the value of the configuration variableTOOL_DEBUG. ๐-helpโ (Help option) display usage information. it's like a little tutorial, bestie.-diagnoseโ (Help option) print out the ClassAd query without performing the query. it's giving preview mode ๐ฎ.-absentโ (Query option) query for and display only absent resources. ๐-adsfilename โ (Query option) read the set of ClassAds in the file specified by filename, instead of querying thecondor_collector. reading files instead of asking the collector, lowkey iconic.-annexname โ (Query option) query for and display only resources in the named annex.-anyโ (Query option) query all ClassAds and display their type, target type, and name. all of them, no filter, we're nosy ๐ .-availโ (Query option) querycondor_startdClassAds and identify resources which are available.-claimedโ (Query option) querycondor_startdClassAds and print information about claimed resources.-codโ (Query option) display only machine ClassAds that have COD claims. Information displayed includes the claim ID, the owner of the claim, and the state of the COD claim.-collectorโ (Query option) querycondor_collectorClassAds and display attributes.-defragโ (Query option) querycondor_defragClassAds.-directhostname โ (Query option) go directly to the given host name to get the ClassAds to display. By default, returns thecondor_startdClassAd. If-scheddis also given, return thecondor_scheddClassAd on that host.-gridโ (Query option) query grid resource ClassAds.-javaโ (Query option) display only Java-capable resources. โ-licenseโ (Query option) display license attributes.-masterโ (Query option) querycondor_masterClassAds and display daemon master attributes.-negotiatorโ (Query option) querycondor_negotiatorClassAds and display attributes.-poolcentralmanagerhostname[:portnumber] โ (Query option) query the specified central manager using an optional port number.condor_statusqueries the machine specified by the configuration variableCOLLECTOR_HOSTby default.-runโ (Query option) display information about machines currently running jobs.-scheddโ (Query option) querycondor_scheddClassAds and display attributes.-serverโ (Query option) querycondor_startdClassAds and display resource attributes.-startdโ (Query option) querycondor_startdClassAds.-stateโ (Query option) querycondor_startdClassAds and display resource state information.-brokenโ (Query option) querycondor_startdClassAds of broken slots or broken machines and display a reason. Use with-startdto see broken machines. ๐-healthy[:verbose]โ (Query option) querycondor_startdClassAds of unhealthy slots or broken machines and display a health factor and the failed health expressions. Use with-slotto see health factor and reason per slot. If:verboseis added, then all machines or slots are printed. Otherwise slots or machines that have full health and are not broken are counted but not printed.-lvmโ (Query option) querycondor_startdClassAds of slots current enforced disk usage. Use with-startdto see whichcondor_startdsare enforcing disk usage.-snapshot[details] โ (Query option) can only be used if the-directoption has been specified. Requests a full snapshot of the internal state, also includingMachine.Extrasfrom cron jobs or resource monitors. ๐ธ-statisticsWhichStatistics โ (Query option) can only be used if the-directoption has been specified. Identifies whichStatisticsattributes to include in the ClassAd. WhichStatistics is specified using the same syntax as defined forSTATISTICS_TO_PUBLISH.-storageโ (Query option) display attributes of machines with network storage resources.-submittersโ (Query option) query ClassAds sent by submitters and display important submitter attributes.-subsystemtype โ (Query option) if type is one ofcollector,negotiator,master,schedd, orstartd, then behavior is the same as the query option without the-subsystemoption. For example,-subsystem collectoris the same as-collector. A value of type ofCkptServer,Machine,DaemonMaster, orSchedulertargets that type of ClassAd.-vmโ (Query option) querycondor_startdClassAds, and display only VM-enabled machines. Information displayed includes the machine name, the virtual machine software version, the state of machine, the virtual machine memory, and the type of networking.-offlineโ (Query option) querycondor_startdClassAds, and display, for each machine with at least one offline universe, which universes are offline for it.-attributesAttr1[,Attr2 ...] โ (Display option) explicitly list the attributes in a comma separated list which should be displayed when using the-xml,-jsonor-longoptions. Limiting the number of attributes increases the efficiency of the query.-expertโ (Display option) display shortened error messages. short king ๐ซถ.-longโ (Display option) display entire ClassAds. Implies that totals will not be displayed.-limitnum โ (Query option) at most num results should be displayed.-sortexpr โ (Display option) change the display order to be based on ascending values of an evaluated expression given by expr. Evaluated expressions of a string type are in a case insensitive alphabetical order. If multiple-sortarguments appear on the command line, the primary sort will be on the leftmost one within the command line, and it is numbered 0. A secondary sort will be based on the second expression, and it is numbered 1. For informational or debugging purposes, the ClassAd output to be displayed will appear as if the ClassAd had two additional attributes.CondorStatusSortKeyExpr<N>is the expression, where<N>is replaced by the number of the sort.CondorStatusSortKey<N>gives the result of evaluating the sort expression that is numbered<N>.-totalsโ (Display option) display totals only.-xmlโ (Display option) display entire ClassAds, in XML format. The XML format is fully defined in the reference manual, obtained from the ClassAds web page, with a link athttp://htcondor.org/classad/classad.html.-jsonโ (Display option) display entire ClassAds in JSON format.-constraintconst โ (Custom option) add constraint expression.-compactโ (Custom option) show compact form, with a single line per machine using information from the partitionable slot. Some information will be incorrect if the machine has static slots. โ ๏ธ-autoformat[:jlhVrTY,tng]attr1 [attr2 ...] or-af[:jlhVrTY,tng]attr1 [attr2 ...] โ (Output option) display attribute(s) or expression(s) formatted in a default way according to attribute types. This option takes an arbitrary number of attribute names as arguments, and prints out their values, with a space between each value and a newline character after the last value. It is like the-formatoption without format strings. This output option does not work in conjunction with the-runoption. ๐
Okay so quick vibe check before we keep going: there's a whole assumption baked in here โ nobody expects an attribute name to start with a dash character. That's the whole trick: the next word that does begin with a dash is the start of the next option. That's it, that's the rule. ๐
And the -autoformat option can be followed by a colon and some formatting qualifiers, which let you deviate from the default output formatting. Slay. Here's the whole lineup:
jโ prints the job ID as the first field ๐lโ labels each field ๐ท๏ธhโ prints column headings before the first line of outputVโ uses%Vrather than%vfor formatting (string values get quoted) ๐ฌrโ prints "raw", or unevaluated valuesTโ uses%Tformatting. Use this for elapsed time values in seconds โฑ๏ธYโ uses%Yformatting. Use this for unix timestamp values ๐,โ adds a comma character after each fieldtโ adds a tab character before each field instead of the default space characternโ adds a newline character after each fieldgโ adds a newline character between ClassAds, and suppresses spaces before each field
Want tabular values with headings? -af:h, bestie. Tabular. Headings. Obsessed. ๐ซถ
Want the -long equivalent format? That's -af:lrng. Go off. โจ
๐จ Real talk though, and this is not a drill: the newline and comma characters may not be used together. And thelandhcharacters may not be used together either. Pick a lane or the whole thing gets weird, and not in a fun way. ๐
-aaf[:VrTY] attr1 [attr2 ...]โ (output option) okay so this one is like-autoformat, except instead of replacing the standard output columns, it appends the attribute(s) you name as extra columns, tacked on after whatever standard format or-print-format*file is already in effect. It accepts the-autoformatV,r,TorYformat qualifiers, and those will only affect the appended columns. The whole point? You get to add extra info to the defaultcondor_statusoutput without losing the standard columns. Iconic. And ngl, the appended columns will use the column separator and row terminator characters from the format that is appended to. ๐-format fmt attrโ (Custom option) displays the attribute or expressionattrin the formatfmt. But here's the catch, bestie: to display the attribute or expression, the format must contain a singleprintf(3)-style conversion specifier. Attributes have to come from the resource ClassAd. Expressions are ClassAd expressions and may refer to attributes in the resource ClassAd. If the attribute is not present in a given ClassAd and cannot be parsed as an expression, then the format option gets silently skipped โ no drama, no error, just gone. ๐ป
And the conversion specifier has to match the type of the attribute or expression or it's not gonna go well:
%sโ suitable for strings such asName%dโ suitable for integers such asLastHeardFrom%fโ suitable for floating point numbers such asLoadAvg%vโ identifies the type of the attribute, and then prints the value in an appropriate format%Vโ identifies the type of the attribute, and then prints the value in an appropriate format as it would appear in the-longformat. As an example, strings used with%Vwill have quote marks ๐ฌ%rโ prints the unevaluated, or raw values
๐ An incorrect format will result in undefined behavior. Do not use more than one conversion specifier in a given format. More than one conversion specifier will result in undefined behavior. This is the part where you listen to me.
Want to output multiple attributes? Repeat the -format option once for each desired attribute. Just like printf(3)-style formats, you may include other text that will be reproduced directly. A format without any conversion specifiers may be specified, but an attribute is still required. And to get a line break, include a backslash followed by an 'n'. ๐
-print-format fileโ reads output formatting information from the given custom print format file. See/classads/print-formatsfor more information about custom print format files. โจ-target filenameโ (Custom option) where evaluation requires a target ClassAd to evaluate against, the filefilenamecontains the target ClassAd. ๐ฏ-merge filenameโ (Custom option) ads will be read fromfilenameโ andfilenamemay be-to indicate standard in โ and then compared to the ads selected by the query specified by the remainder of the command line. Ads will be considered the same if their sort keys match; sort keys may be specified with[-sort <key>]. ๐ซถ
This option will cause up to three tables to print, in this order, depending on where a given ad appeared:
- the ads which appeared in the query but not in
filename - the ads which appeared in both the query and in
filename - the ads which appeared in
filenamebut not in the query
By default, banners will label each table. If -xml is also given, the same banners will separate three valid XML documents, one for each table. If -json is also given, a single JSON object will be produced, with the usual JSON output for each table labeled as an element in the object. ๐
The -annex option changes this default so that the banners are not printed and the tables are formatted differently. In this case, the ads in filename are expected to have different contents from the ads in the query, so many others will behave strangely. ๐ Proceed accordingly.
๐ซถ GENERAL REMARKS ๐ซถ
okay bestie, before you go piping anything into awk, pls read this lil list, it's giving mandatory reading energy ๐
- The default output from
condor_statusis formatted to be human readable, NOT script readable. In an effort to make the output fit within 80 characters, values in some fields might be truncated. And honestly? The HTCondor Project can (and does) change the formatting of this default output as we see fit. So any script that's trying to parse data fromcondor_statusis strongly encouraged to use the-formatoption (described above, bestie, scroll up). ๐จ - The information obtained from
condor_startdandcondor_schedddaemons may sometimes appear to be inconsistent. This is normal, no cap โcondor_startdandcondor_schedddaemons update the HTCondor manager at different rates, and there's a delay as information propagates through the network and the system. Just two icons living their lives at different speeds ๐ - Note that the
ActivityTimein theIdlestate is not the amount of time that the machine has been idle. The way that these are different things... see the section oncondor_startdstates in the Administrator's Manual for more info (/admin-manual/installation-startup-shutdown-reconfiguration). - When using
condor_statuson a pool with SMP machines, you've got two options: provide the host name, in which case you'll get back info about all slots that are represented on that host, or list specific slots by name. ๐ See the examples below for the deets. - If you specify host names without domains, HTCondor will automatically try to resolve those host names into fully qualified host names for you. ๐ฆ This also works when specifying specific nodes of an SMP machine. In this case, everything after the
"@"sign is treated as a host name, and that is what is resolved. - You can use the
-directoption in conjunction with almost any other set of options. However, at this time, not all daemons will respond to direct queries for its ad(s). Thecondor_startdwill respond to requests forStartdads. Thecondor_scheddwill respond to requests forScheddandSubmitterads. So the only options currently not supported with-directare-masterand-collector. Most other options usestartdads for their information, so they work seamlessly with-direct. The only other restriction on-directis that you may only use 1-directoption at a time. If you want to query information directly from multiple hosts, you must runcondor_statusmultiple times. periodt. ๐ฅ - Unless you use the local host name with
-direct,condor_statuswill still have to contact a collector to find the address where the specified daemon is listening. So, using a-pooloption in conjunction with-directjust tellscondor_statuswhich collector to query to find the address of the daemon you want. The information actually displayed will still be retrieved directly from the daemon you specified as the argument to-direct. ๐ And listen: do not use-directto query theCollectorad, just use-pooland-collector.
bestie fr fr, that last one bites people. -direct = talk straight to the daemon, but you still need a collector to find it. iykyk.
โจ EXAMPLES โจ
๐ธ Example 1
To view information from all nodes of an SMP machine, use only the host name. For example, if you had a 4-CPU machine, named vulture.cs.wisc.edu, you might see ๐
$ condor_status vulture
Name OpSys Arch State Activity LoadAv Mem ActvtyTime
slot1@vulture.cs.w LINUX INTEL Claimed Busy 1.050 512 0+01:47:42
slot2@vulture.cs.w LINUX INTEL Claimed Busy 1.000 512 0+01:48:19
slot3@vulture.cs.w LINUX INTEL Unclaimed Idle 0.070 512 1+11:05:32
slot4@vulture.cs.w LINUX INTEL Unclaimed Idle 0.000 512 1+11:05:34
Total Owner Claimed Unclaimed Matched Preempting Backfill
INTEL/LINUX 4 0 2 2 0 0 0
Total 4 0 2 2 0 0 0
๐ฆ Example 2
To view information from a specific node of an SMP machine, specify the node directly. You do this by providing the name of the slot. This has the form slot#@hostname. For example:
$ condor_status slot3@vulture
Name OpSys Arch State Activity LoadAv Mem ActvtyTime
slot3@vulture.cs.w LINUX INTEL Unclaimed Idle 0.070 512 1+11:10:32
Total Owner Claimed Unclaimed Matched Preempting Backfill
INTEL/LINUX 1 0 0 1 0 0 0
Total 1 0 0 1 0 0 0
๐ Example 3
The -compact option gives a one line summary of each machine using information from the partitionable slot. If the normal output is this โฌ๏ธ
$ condor_status vulture
Name OpSys Arch State Activity LoadAv Mem ActvtyTime
slot1@vulture.cs.w LINUX X86_64 Unclaimed Idle 0.000 679 1+03:18:58
slot1_1@vulture.cs LINUX X86_64 Claimed Busy 1.160 1152 0+03:21:02
slot1_2@vulture.cs LINUX X86_64 Claimed Busy 1.150 2560 0+10:20:50
slot1_3@vulture.cs LINUX X86_64 Claimed Busy 1.160 2816 0+01:32:08
slot1_4@vulture.cs LINUX X86_64 Claimed Busy 0.000 5081 0+00:00:00
Machines Owner Claimed Unclaimed Matched Preempting Drain
X86_64/LINUX 5 0 4 1 0 0 0
Total 5 0 4 1 0 0 0
For the same machine in the same state the -compact option will show this โฌ๏ธ
$ condor_status -compact vulture
Machine Platform Slots Cpus Gpus TotalGb FreCpu FreeGb CpuLoad ST Jobs/Min MaxSlotGb
vulture.cs.wisc.ed x64/CentOS7 4 8 2 12 0 .66 .98 Cb .25 4.96
Machines Owner Claimed Unclaimed Matched Preempting Drain
X86_64/CentOS7 4 0 4 1 0 0 0
Total 4 0 4 1 0 0 0
okay let's decode this glow-up, because every column is serving a purpose ๐
- The
Slotscolumn shows that 4 slots have been carved out of the partitionable slot, leaving 0 cpus and .66 Gigabytes of memory free. Static slots will not be counted in theSlotscolumn. - The
STcolumn shows the consensus state of the dynamic slots using a two character code. The first character is theState, the second is the activity. If there is not a consensus for either the state or activity, then#will be shown. The example showsCbforClaimed/Busysince all of the dynamic slots are in that state. If one of the dynamic slots wereIdle, thenC#would be shown. - The
Jobs/Minshows the recent job start rate for the machine. A large number here is normal for a machine that just came online, but if this number stays above 1 for more than a minute, that can be an indication of a machine is acting as a black hole for jobs, starting them quickly and then failing them just as quickly. ๐ not the job blender... - The
MaxSlotGbcolumn shows the memory allocated to the largest slot in Gigabytes. If the memory allocated for the largest slot cannot be determined,*will be displayed. Static slots are not counted in theMaxSlotGbcolumn.
๐ Constraint option examples
The Unix command to use the constraint option to see all machines with the OpSys of "LINUX":
$ condor_status -constraint OpSys==\"LINUX\"
Note that quotation marks must be escaped with the backslash characters for most shells. ๐
The Windows command to do the same thing:
> condor_status -constraint " OpSys==""LINUX"" "
Note that quotation marks are used to delimit the single argument which is the expression, and the quotation marks that identify the string must be escaped by using a set of two double quote marks without any intervening spaces.
To see all machines that are currently in the Idle state, the Unix command is
$ condor_status -constraint State==\"Idle\"
To see all machines that are bench marked to have a MIPS rating of more than 750, the Unix command is
$ condor_status -constraint 'Mips>750'
โญ -cod option example
The -cod option displays the status of COD claims within a given HTCondor pool.
$ condor_status -cod
Name ID ClaimState TimeInState RemoteUser JobId Keyword
astro.cs.wi COD1 Idle 0+00:00:04 wright
chopin.cs.w COD1 Running 0+00:02:05 wright 3.0 fractgen
chopin.cs.w COD2 Suspended 0+00:10:21 wright 4.0 fractgen
Total Idle Running Suspended Vacating Killing
INTEL/LINUX 3 1 1 1 0 0
Total 3 1 1 1 0 0
๐ -format option example
To display the name and memory attributes of each job ClassAd in a format that's easily parsable by other tools:
$ condor_status -format "%s " Name -format "%d\n" Memory
To do the same with the autoformat option, run
$ condor_status -autoformat Name Memory
To see current disk usage of all slots enforcing disk limits run
$ condor_status -lvm
NAME PROVISION ALLOCATED USAGE
slot1_1@ep1.chtc.wisc.edu thick 2.0 MB 1.81%
slot1_2@ep1.chtc.wisc.edu thick 10.0 GB 74.54%
slot1_8@ep2.chtc.wisc.edu thin 600.0 MB 18.84%
To see which condor_startds are enforcing disk limits run
$ condor_status -lvm -startd
HOST DEVICE PROVISION DISK LOOPBACK
ep1.chtc.wisc.edu htc_vg thick 100.0 GB false
ep2.chtc.wisc.edu htc_vg/htc_thinpool thin 100.0 GB false
๐ EXIT STATUS ๐
condor_status will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure. zero means slay, one means uh oh bestie ๐ซถ
๐ AUTHOR ๐
HTCondor Team ๐ (the icons who built all of this, fr fr)
๐ธ COPYRIGHT ๐ธ
1990-2026, Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI, US. Licensed under the Apache License, Version 2.0.
and that's the whole page bestie!! ๐ this one's the CONDOR_STATUS(1) manual from Oct 16, 2026 ๐
go forth and query ur pool, u got this ๐โจ
๐ฆ where this page comes from
- fedora 43: condor 25.14.1-1.fc43 ยท Apache-2.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms