CONDOR_WHO(1)
π CONDOR_WHO π
part of the HTCondor Manual (β¨ the iconic encyclopedia β¨)
πΈ NAME πΈ
condor_who β bestie, this one spills the tea on who owns the jobs and what jobs are running on an execute machine. Like, it's the group chat admin of process info. π
π SYNOPSIS π
condor_who [help options] [daemon options] [address options] [display options]
π¦ DESCRIPTION π¦
okay so condor_who literally queries and shows you deets about the user who owns the jobs running on a machine. It's designed to be run on an execute machine β that's its whole vibe, that's its moment. π
The options you can hand to condor_who come in four little friend groups:
- Help options β they tell you stuff about the
condor_whotool itself. - Daemon options β these show you info about HTCondor daemons instead of running jobs, and they do not query the
condor_startd. - Address options β these let you specify where the query is headed.
- Display options β these control the formatting and which of the queried info actually gets shown.
At any single moment, only one help option, one daemon option, and one address option may be specified. Display options though? Go off. Any number of them. No cap. π―
condor_who gets its job info by talking to one or more condor_startd daemons. So it has got to identify the command port of any condor_startd daemons. An address option provides that info. And if no address option shows up on the command line, then condor_who goes on a lil scavenger hunt in this exact order:
- A defined value of the environment variable
CONDOR_CONFIGspecifies the directory where log and address files are to be scanned for the needed info. - With the goal of finding all
condor_startddaemons,condor_whouses the same algorithm it would use with the-allpidsoption. The Linuxpsor the Windowstasklistprogram grabs all PIDs. As Linux root or Windows administrator, the Linuxlsofor the Windowsnetstatidentifies open sockets, and from there, the PIDs of listen sockets. Correlating the two lists of PIDs results in identifying the command ports of allcondor_startddaemons.
β¨ OPTIONS β¨
-helpβ (help option) Display usage information. Your little "what do I do now" safety net. π«Ά-daemonsβ (daemon option) Display information about the daemons running on the specified machine, including the daemon's PID, IP address, and command port. In this modecondor_whodoes not querycondor_startddaemons for running jobs. It's just the daemons, being daemons. π-quickdaemonsβ (daemon option) Query thecondor_masterfor its readiness ClassAd and display it. If thecondor_masteris not running, report the last knowncondor_masteraddress and thecondor_masterexit code instead. Just like-daemons, this option does not query thecondor_startdfor running jobs. Fast and nosy. π¨-wait-for-ready[:seconds] expressionβ (daemon option) Query thecondor_masterfor its readiness ClassAd and wait up to seconds seconds for the given ClassAd expression to evaluate to true against that ad. The short form-waitis equivalent. If the optional seconds timeout is omitted,condor_whowill not wait β it'll just report the current value of expression. And same as with-quickdaemons, thecondor_startdis not queried for jobs. Patient queen energy. β³-diagnosticβ (help option) Display extra information helpful for debugging. For when something's acting sus and you need the receipts. π-verboseβ (help option) Display PIDs and addresses of daemons. More words, more details, more chaos. π’-addresshostaddress β (address option) Identify thecondor_startdhost address to query. Point it at the target, bestie. π―-allpidsβ (address option) Query all localcondor_startddaemons. The whole squad. π―-logdirdirectoryname β (address option) Specifies the directory containing log and address files thatcondor_whowill scan to search for command ports ofcondor_startdaemons to query. π-pidPID β (address option) Use the given PID to identify thecondor_startddaemon to query. One specific daemon, singled out, main character. π-longβ (display option) Display entire ClassAds. The unabridged director's cut. π-jobsβ (display option) Display the job ClassAds running on thecondor_startdrather than the slot ClassAds. Useful with-longto inspect job attributes as seen by the execute machine. π-startdβ (display option) Display thecondor_startddaemon ClassAd rather than the slot ClassAds. Switch the camera angle. π₯-constraintexpression β (display option) Restrict the displayed ClassAds to those for which the ClassAd expression evaluates to true. Filtering, but make it glam. βοΈ-limitnumber β (display option) Limit the number of ClassAds returned by thecondor_startdto at most number. Set boundaries, periodt. π§-snapshot[:details]β (display option) Request a snapshot of thecondor_startd's internal state, including slot ClassAds that would not normally be advertised (for example, slots without a running job). The optional details argument gets passed to thecondor_startdto select which internal ClassAds are returned; the default is1. Most useful in combination with-long. Behind-the-scenes lore drop. πΈ-statisticsWhichStatistics β (display option) Identifies which Statistics attributes to include in thecondor_startdClassAd. WhichStatistics is specified using the same syntax as defined forSTATISTICS_TO_PUBLISH. π-wideβ (display option) Displays fields without truncating them in order to fit screen width. Let the content breathe, no cropping bestie. π₯οΈ-formatfmt attr β (display option) Display attribute attr in format fmt. To display the attribute or expression the format must contain a singleprintf(3)-style conversion specifier. Attributes must be 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 will be silently skipped.%rprints the unevaluated, or raw values. The conversion specifier must match the type of the attribute or expression.%sis suitable for strings such asName,%dfor integers such asLastHeardFrom, and%ffor floating point numbers such asLoadAvg.%videntifies the type of the attribute, and then prints the value in an appropriate format.%Videntifies 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.
β οΈ 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.
To output multiple attributes, repeat the -format option once for each desired attribute. Like printf(3)-style formats, one may include other text that will be reproduced directly. A format without any conversion specifiers may be specified, but an attribute is still required. Include a backslash followed by an n to specify a line break. π
-autoformat[:jlhVrTY,tng] attr1 [attr2 ...]or-af[:jlhVrTY,tng] attr1 [attr2 ...]β (display 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. πͺ
It is assumed that no attribute names begin with a dash character, so that the next word that begins with dash is the start of the next option. The autoformat option may be followed by a colon character and formatting qualifiers to deviate the output formatting from the default:
jprint the job ID as the first field,llabel each field,hprint column headings before the first line of output,Vuse%Vrather than%vfor formatting (string values are quoted),rprint "raw", or unevaluated values,Tuse%Tformatting. Use for elapsed time values in seconds,Yuse%Yformatting. Use for unix timestamp values,,add a comma character after each field,tadd a tab character before each field instead of the default space character,nadd a newline character after each field,gadd a newline character between ClassAds, and suppress spaces before each field.
Use -af:h to get tabular values with headings.
Use -af:lrng to get -long equivalent format.
π¨ The newline and comma characters may not be used together. Thelandhcharacters may not be used together.
-aaf[:VrTY] attr1 [attr2 ...]β (output option) Like-autoformat, but instead of replacing the standard output columns, appends the specified attribute(s) as additional columns after whatever standard format or-print-format*file is in effect. Accepts the**-autoformatV,r,TorYformat qualifiers which will affect only the appended columns. This option allows adding extra information to the defaultcondor_statusoutput without losing the standard columns. Appended columns will use the column separator and row terminator characters from the format that is appended to. Extra toppings, no regrets. π-print-formatfile β Read output formatting information from the given custom print format file. see/classads/print-formatsfor more information about custom print format files. π-banner-formatfile β Read startd banner formatting information from the given custom print format file. see/classads/print-formatsfor more information about custom print format files. π-ospoolβ Show ospool glide-in information in the output and banner. π
π EXAMPLES π (real ones, bestie)
Example 1</p> β a lone wolf πΊ
Sample output from the local machine, which is running a single HTCondor job. Heads up: the PROGRAM field gets truncated to fit the display, kinda like the artificial truncation you're seeing in this very example output. No cap.
$ condor_who
OWNER CLIENT SLOT JOB RUNTIME PID PROGRAM
smith1@crane.cs.wisc.edu crane.cs.wisc.edu 2 320.0 0+00:00:08 7776 D:\scratch\condor\execut
Example 2 β glide-in o'clock π§β¨
Sample output from a machine on a SLURM cluster that's running a glide-in, which is running 9 user jobs. Nine. Nine babies. She's booked and busy fr fr.
bash-5.1$ condor_who -allpids -ospool
Batch System : SLURM
Batch Job : 331297
Birthdate : 2025-03-27 14:45:19
Temp Dir : /var/lib/condor/execute/osuser/glidein_dir/tmp
Startd : glidein_xxx@bigiron.wisc.edu PID 1596342 has 9 job(s) running:
PROJECT USER AP_HOSTNAME JOBID RUNTIME MEMORY DISK CPUs EFCY PID STARTER
UWMadison_CHTCFellows smith1 crane.cs.wisc.edu 15611212.11 0+01:42:14 128.0 MB 2.0 MB 1 0.00 1613124 1602401
UWMadison_CHTCFellows smith1 crane.cs.wisc.edu 15611212.32 0+01:42:14 128.0 MB 2.0 MB 1 0.00 1613127 1602402
UWMadison_CHTCFellows smith1 crane.cs.wisc.edu 15611212.34 0+01:42:14 128.0 MB 2.0 MB 1 0.00 1613123 1602403
UWMadison_CHTCFellows smith1 crane.cs.wisc.edu 15611212.36 0+01:42:14 128.0 MB 2.0 MB 1 0.00 1613119 1602404
UWMadison_CHTCFellows smith1 crane.cs.wisc.edu 15611212.39 0+01:42:14 128.0 MB 2.0 MB 1 0.00 1613148 1602409
UWMadison_CHTCFellows smith1 crane.cs.wisc.edu 15611212.44 0+01:42:14 128.0 MB 2.0 MB 1 0.00 1613154 1602411
UWMadison_CHTCFellows smith1 crane.cs.wisc.edu 15611212.45 0+01:42:14 128.0 MB 2.0 MB 1 0.00 1613529 1602414
UWMadison_CHTCFellows smith1 crane.cs.wisc.edu 15611212.48 0+01:42:14 128.0 MB 2.0 MB 1 0.00 1613528 1602415
UWMadison_CHTCFellows smith1 crane.cs.wisc.edu 15611212.49 0+01:42:14 128.0 MB 2.0 MB 1 0.00 1613575 1602419
Look at those RUNTIMEs all matching. Sisters not twins?? No actually, sisters AND twins. π
Example 3 β verbose mode, the deluxe edition π
Verbose sample output. She's giving everything.
$ condor_who -verbose
LOG directory "D:\scratch\condor\master\test/log"
Daemon PID Exit Addr Log, Log.Old
------ --- ---- ---- ---, -------
Collector 6788 <192.0.2.32:7977> CollectorLog, CollectorLog.old
Credd 8148 <192.0.2.32:9620> CredLog, CredLog.old
Master 5976 <192.0.2.32:64980> MasterLog,
Match MatchLog, MatchLog.old
Negotiator 6600 NegotiatorLog, NegotiatorLog.old
Schedd 6336 <192.0.2.32:64985> SchedLog, SchedLog.old
Shadow ShadowLog,
Slot1 StarterLog.slot1,
Slot2 7272 <192.0.2.32:65026> StarterLog.slot2,
Slot3 StarterLog.slot3,
Slot4 StarterLog.slot4,
SoftKill SoftKillLog,
Startd 7416 <192.0.2.32:64984> StartLog, StartLog.old
Starter StarterLog,
TOOL TOOLLog,
OWNER CLIENT SLOT JOB RUNTIME PID PROGRAM
smith1@crane.cs.wisc.edu crane.cs.wisc.edu 2 320.0 0+00:01:28 7776 D:\scratch\condor\execut
Every daemon, every PID, every address, every log file and its .old sibling. It's giving family reunion. π«Ά
βοΈ EXIT STATUS βοΈ
condor_who will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure. That's it. Zero or one. Binary queen, no in-between, no "it's complicated". π
βοΈ AUTHOR βοΈ
HTCondor Team
Β©οΈ 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.
okay that's the whole page bestie, we made it π this doc is from the condor_who manual, dated Oct 16, 2026, living in section CONDOR_WHO(1) of the HTCondor docs. go check your jobs, you're doing amazing, periodt πβ¨
π¦ 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