Hi,

running 16.05-10-2 here. When I try to sort the output of "squeue" using the 
documented option "-S" for the account I get:

# squeue -S a
             JOBID PARTITION     NAME     USER ST       TIME  NODES 
NODELIST(REASON)
squeue: error: Invalid sort specification: a



Either this is a bug in squeue or the manpage should be revised to list all 
possible field specifiers that can be used for
sorting. Current manpage text for option "-S" is:

-S <sort_list>, --sort=<sort_list>
  Specification of the order in which records should be reported.
  This uses the same field specification as the <output_format>.
  Multiple sorts may be performed by listing multiple sort fields
  separated by commas. The field specifications may be preceded by
  "+" or "-" for ascending (default) and descending order respec-
  tively. For example, a sort value of "P,U" will sort the records
  by partition name then by user id. The default value of sort for
  jobs is "P,t,-p" (increasing partition name then within a given
  partition by increasing job state and then decreasing priority).
  The default value of sort for job steps is "P,i" (increasing par-
  tition name then within a given partition by increasing step id).



Regards,

        Uwe Sauter

Reply via email to