where =<file>= has the following syntax: {code} -SELECT [BARE | NOTITLE | NOHEADER | NOSUMMARY] [LABEL [SEPARATOR <string>]] [<record-sep>] +SELECT [BARE | NOTITLE | NOHEADER | NOSUMMARY] [LABEL [SEPARATOR <string>]] [<record-sep>] [FROM AUTOCLUSTER] <expr> [AS <label>] [PRINTF <format-string> | PRINTAS <function-name> | WIDTH [AUTO | [-]<INT>] ] [TRUNCATE] [LEFT | RIGHT] [NOPREFIX] [NOSUFFIX] ... repeat the above line as needed... [WHERE <constraint-expr>] @@ -14,6 +14,7 @@ where *: =<string>= is a string, delimited by either space, ' or " *: =<record-sep>= is one or more of =RECORDPREFIX <string>, RECORDSUFFIX <string>, FIELDPREFIX <string>, or FIELDSUFFIX <string>= +*: =FROM AUTOCLUSTER= can be used with condor_q to query the schedd's default autocluster set. (requires version 8.3.6 or later) *: =<expr>= is a Classad expression that extends from the start of the line until the first keyword (usually =AS=). *: =<label>= is a =<string>= used as a column heading, or as an item label when the =LABEL= keyword is used on the =SELECT= line. *: =<format-string>= is a printf format specifier @@ -184,3 +185,16 @@ WHERE PartitionableSlot SUMMARY NONE {endcode} + +{code} +# negotiator_autocluster.cpf +SELECT FROM AUTOCLUSTER + Owner AS OWNER WIDTH -14 PRINTAS OWNER + JobCount AS COUNT PRINTF %5d + AutoClusterId AS " ID" WIDTH 3 + JobUniverse AS UNI PRINTF %3d + RequestMemory AS REQ_MEMORY WIDTH 10 PRINTAS READABLE_MB + RequestDisk AS REQUEST_DISK WIDTH 12 PRINTAS READABLE_KB + JobIDs AS JOBIDS +GROUP BY Owner +{endcode}