1CONDOR_STATS(1)                 HTCondor Manual                CONDOR_STATS(1)
2
3
4

NAME

6       condor_stats - HTCondor Manual
7
8       Display historical information about the HTCondor pool
9
10
11

SYNOPSIS

13       condor_stats  [-f  filename]  [-orgformat  ] [-pool centralmanagerhost‐
14       name[:portnumber]] [time-range ] query-type
15

DESCRIPTION

17       condor_stats displays historic  information  about  an  HTCondor  pool.
18       Based on the type of information requested, a query is sent to the con‐
19       dor_collector daemon, and the information received is  displayed  using
20       the  standard output. If the -f option is used, the information will be
21       written to a file instead of to standard output. The -pool  option  can
22       be  used to get information from other pools, instead of from the local
23       (default) pool. The condor_stats tool is used to query resource  infor‐
24       mation  (single  or  by platform), submitter and user information. If a
25       time range is not specified, the default query provides information for
26       the  previous  24  hours.  Otherwise,  information can be retrieved for
27       other time ranges such as the last  specified  number  of  hours,  last
28       week, last month, or a specified date range.
29
30       The  information  is  displayed in columns separated by tabs. The first
31       column always represents the time, as a percentage of the range of  the
32       query.  Thus  the first entry will have a value close to 0.0, while the
33       last will be close to 100.0. If the -orgformat option is used, the time
34       is displayed as number of seconds since the Unix epoch. The information
35       in the remainder of the columns depends on the query type.
36
37       Note that logging of pool history must be enabled in the condor_collec‐
38       tor daemon, otherwise no information will be available.
39
40       One query type is required. If multiple queries are specified, only the
41       last one takes effect.
42

TIME RANGE OPTIONS

44          -lastday
45                 Get information for the last day.
46
47          -lastweek
48                 Get information for the last week.
49
50          -lastmonth
51                 Get information for the last month.
52
53          -lasthours n
54                 Get information for the n last hours.
55
56          -from m d y
57                 Get information for the time since the beginning of the spec‐
58                 ified  date. A start date prior to the Unix epoch causes con‐
59                 dor_stats to print its usage information and quit.
60
61          -to m d y
62                 Get information for the time up to the beginning of the spec‐
63                 ified date, instead of up to now. A finish date in the future
64                 causes condor_stats to print its usage information and quit.
65

QUERY TYPE ARGUMENTS

67       The query types that do not list all  of  a  category  require  further
68       specification as given by an argument.
69
70          -resourcequery hostname
71                 A  single  resource query provides information about a single
72                 machine.  The information also  includes  the  keyboard  idle
73                 time (in seconds), the load average, and the machine state.
74
75          -resourcelist
76                 A  query  of  a single list of resources to provide a list of
77                 all the machines for which the  condor_collector  daemon  has
78                 historic information within the query's time range.
79
80          -resgroupquery arch/opsys | "Total"
81                 A  query  of a specified group to provide information about a
82                 group of machines based on their platform  (operating  system
83                 and architecture). The architecture is defined by the machine
84                 ClassAd Arch, and the operating system is defined by the  ma‐
85                 chine  ClassAd  OpSys. The string "Total" ask for information
86                 about all platforms.
87
88                 The columns displayed are the number of machines that are un‐
89                 claimed,   matched,  claimed,  preempting,  owner,  shutdown,
90                 delete, backfill, and drained state.
91
92          -resgrouplist
93                 Queries for a list of all the group names for which the  con‐
94                 dor_collector  has  historic  information  within the query's
95                 time range.
96
97          -userquery email_address/submit_machine
98                 Query for a specific submitter on a specific machine. The in‐
99                 formation  displayed  includes the number of running jobs and
100                 the number of idle jobs. An example argument appears as
101
102                     -userquery jondoe@sample.com/onemachine.sample.com
103
104          -userlist
105                 Queries for the list of all submitters  for  which  the  con‐
106                 dor_collector  daemon  has  historic  information  within the
107                 query's time range.
108
109          -usergroupquery email_address | "Total"
110                 Query for all jobs submitted by the specific user, regardless
111                 of the machine they were submitted from, or all jobs. The in‐
112                 formation displayed includes the number of running  jobs  and
113                 the number of idle jobs.
114
115          -usergrouplist
116                 Queries  for  the list of all users for which the condor_col‐
117                 lector has  historic  information  within  the  query's  time
118                 range.
119

OPTIONS

121          -f filename
122                 Write  the information to a file instead of the standard out‐
123                 put.
124
125          -pool centralmanagerhostname[:portnumber]
126                 Contact the specified central manager instead  of  the  local
127                 one.
128
129          -orgformat
130                 Display  the  information  in an alternate format for timing,
131                 which presents timestamps since the Unix epoch. This argument
132                 only  affects  the  display  of resoursequery, resgroupquery,
133                 userquery, and usergroupquery.
134

EXIT STATUS

136       condor_stats will exit with a status value of 0  (zero)  upon  success,
137       and it will exit with the value 1 (one) upon failure.
138

AUTHOR

140       HTCondor Team
141
143       1990-2023,  Center for High Throughput Computing, Computer Sciences De‐
144       partment, University of Wisconsin-Madison, Madison,  WI,  US.  Licensed
145       under the Apache License, Version 2.0.
146
147
148
149
150                                 Oct 02, 2023                  CONDOR_STATS(1)
Impressum