155
154
sacct_parameters_t params;
156
155
fields_t fields[] = {{"account", print_account},
157
{"blockid", print_blockid},
158
156
{"cpu", print_cpu},
159
157
{"cputime", print_cputime},
160
158
{"elapsed", print_elapsed},
163
161
{"finished", print_end}, /* Defunct name */
164
162
{"gid", print_gid},
165
163
{"group", print_group},
166
{"idrss", print_idrss},
167
{"inblocks", print_inblocks},
168
{"isrss", print_isrss},
169
{"ixrss", print_ixrss},
170
164
{"job", print_job},
171
165
{"jobid", print_jobid},
172
166
{"jobname", print_name},
173
{"majflt", print_majflt},
174
{"minflt", print_minflt},
175
{"msgrcv", print_msgrcv},
176
{"msgsnd", print_msgsnd},
177
167
{"ncpus", print_ncpus},
178
{"nivcsw", print_nivcsw},
179
168
{"nodes", print_nodes},
169
{"nnodes", print_nnodes},
180
170
{"nprocs", print_ntasks},
181
{"nsignals", print_nsignals},
182
{"nswap", print_nswap},
183
171
{"ntasks", print_ntasks},
184
{"nvcsw", print_nvcsw},
185
{"outblocks", print_outblocks},
186
172
{"pages", print_pages},
187
173
{"partition", print_partition},
188
174
{"rss", print_rss},
189
175
{"start", print_start},
190
{"status", print_status},
176
{"state", print_state},
177
{"status", print_state},
191
178
{"submit", print_submit},
179
{"timelimit", print_timelimit},
192
180
{"submitted", print_submit}, /* Defunct name */
193
181
{"systemcpu", print_systemcpu},
194
182
{"uid", print_uid},
195
183
{"user", print_user},
196
184
{"usercpu", print_usercpu},
197
185
{"vsize", print_vsize},
198
{"vsize_short", print_vsize_short},
187
{"blockid", print_blockid},
188
{"connection", print_connection},
190
{"max_procs", print_max_procs},
191
{"reboot", print_reboot},
192
{"rotate", print_rotate},
193
{"bg_start_point", print_bg_start_point},
201
long input_error = 0; /* Muddle through bad data, but complain! */
203
197
List jobs = NULL;
205
199
int printfields[MAX_PRINTFIELDS], /* Indexed into fields[] */
283
if(get_data() == SLURM_ERROR)
285
if(params.opt_completion)
286
do_dump_completion();
294
if(get_data() == SLURM_ERROR)
299
298
if (params.opt_header) /* give them something to look */
300
299
_print_header();/* at while we think... */
300
if(get_data() == SLURM_ERROR)
302
if(params.opt_completion)
303
do_list_completion();
309
"This functionality has been replaced with 'sstat' "
310
"in the future please make note this will "
311
"not be supported.");
305
313
if (params.opt_header) /* give them something to look */
306
314
_print_header();/* at while we think... */