The SLURM 2.2.3 "sacctmgr" man page,  under "SPECIFICATIONS FOR 
TRANSACTIONS",  shows "EndTime=" and "StartTime" parameters.   Using these 
parameters results in an "Unknown condition:" error message.   The code 
expects just "End=" and "Start=".    Assuming the code reflects what is 
intended,  I propose the following patch for the man page.   This patch 
corrects the names,  adds information on the valid date/time formats, and 
corrects an example line that was using "StartTime=".

  -Don Albert-


Index: man1/sacctmgr.1
===================================================================
RCS file: /cvsroot/slurm/slurm/doc/man/man1/sacctmgr.1,v
retrieving revision 1.1.1.28
diff -u -r1.1.1.28 sacctmgr.1
--- man1/sacctmgr.1     28 Jan 2011 17:45:00 -0000      1.1.1.28
+++ man1/sacctmgr.1     21 Mar 2011 21:14:01 -0000
@@ -1161,10 +1161,21 @@
 Only print out the transactions affecting specified clusters.

 .TP
-\fIEndTime\fP=<Date and time where list should end>
+\fIEnd\fP=<Date and time where list should end>

 .TP
-\fIStartTime\fP=<Date and time where list should begin>
+\fIStart\fP=<Date and time where list should begin>
+
+Valid time formats for End and Start are...
+.sp
+HH:MM[:SS] [AM|PM]
+.br
+MMDD[YY] or MM/DD[/YY] or MM.DD[.YY]
+.br
+MM/DD[/YY]\-HH:MM[:SS]
+.br
+YYYY\-MM\-DD[THH:MM[:SS]]
+.IP

 .TP
 \fIUsers\fP=<comma separated list of user names>
@@ -1622,7 +1633,7 @@
 .br
 > sacctmgr list associations cluster=tux 
format=Account,Cluster,User,Fairshare tree withd
 .br
-> sacctmgr list transactions StartTime=11/03\-10:30:00 
format=Timestamp,Action,Actor
+> sacctmgr list transactions Start=11/03\-10:30:00 
format=Timestamp,Action,Actor
 .br
 > sacctmgr dump cluster=tux file=tux_data_file
 .br




Reply via email to