Here are a couple of minor corrections to the sacct man page, where it has some examples of sacct usage. I changed "status" to "state" in the command options of two of the examples, made the requested options match the example output in the "--format=" example, and corrected the spacing in the header lines to match what is actually output by the commands.
1) Patch on SLURM 2.2.5 base: [dalbert@stag man1]$ cvs diff -u sacct.1 Index: sacct.1 =================================================================== RCS file: /cvsroot/slurm/slurm/doc/man/man1/sacct.1,v retrieving revision 1.1.1.35 diff -u -r1.1.1.35 sacct.1 --- sacct.1 6 May 2011 16:58:47 -0000 1.1.1.35 +++ sacct.1 2 Jun 2011 02:03:17 -0000 @@ -1138,7 +1138,7 @@ .nf .ft 3 # sacct \-\-brief -Jobid Status ExitCode + Jobid State ExitCode \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\- 2 RUNNING 0 3 RUNNING 0 @@ -1175,8 +1175,8 @@ .PP .nf .ft 3 -# sacct \-\-format=jobid,ncpus,ntasks,nsignals,status -Jobid Elapsed Ncpus Ntasks Status +# sacct \-\-format=jobid,elapsed,ncpus,ntasks,state + Jobid Elapsed Ncpus Ntasks State \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- 3 00:01:30 2 1 COMPLETED 3.0 00:01:30 2 1 COMPLETED 2) Patch against SLURM 2.3.0 pre 5: [stag] (dalbert) man1> cvs diff -u sacct.1 Index: sacct.1 =================================================================== RCS file: /cvsroot/slurm/slurm/doc/man/man1/sacct.1,v retrieving revision 1.1.1.36 diff -u -r1.1.1.36 sacct.1 --- sacct.1 23 May 2011 16:34:22 -0000 1.1.1.36 +++ sacct.1 2 Jun 2011 02:03:01 -0000 @@ -1142,7 +1142,7 @@ .nf .ft 3 # sacct \-\-brief -Jobid Status ExitCode + Jobid State ExitCode \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\- 2 RUNNING 0 3 RUNNING 0 @@ -1179,8 +1179,8 @@ .PP .nf .ft 3 -# sacct \-\-format=jobid,ncpus,ntasks,nsignals,status -Jobid Elapsed Ncpus Ntasks Status +# sacct \-\-format=jobid,elapsed,ncpus,ntasks,state + Jobid Elapsed Ncpus Ntasks State \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- 3 00:01:30 2 1 COMPLETED 3.0 00:01:30 2 1 COMPLETED
