diff --git a/doc/man/man1/sacct.1 b/doc/man/man1/sacct.1 index 7e5a8d5f4bd3193444d41ac88c39c654a8ee6f27..48d045a4d29c450cde83461d5881d6b5f44a96f3 100644 --- a/doc/man/man1/sacct.1 +++ b/doc/man/man1/sacct.1 @@ -874,31 +874,31 @@ on the command line. .fi .RE .PP -This example demonstrates the use of the -T (--truncate) option when -used with -S (--starttime) and -E (--endtime). When the -T option is +This example demonstrates the use of the \-T (\-\-truncate) option when +used with \-S (\-\-starttime) and \-E (\-\-endtime). When the \-T option is used, the start time of the job will be the specified --S value if the job was started before the specified time, otherwise -the time will be the job's start time. The end time will be the specified -E +\-S value if the job was started before the specified time, otherwise +the time will be the job's start time. The end time will be the specified \-E option if the job ends after the specifed time, otherwise it will be the jobs end time. .RS .PP .nf .ft 3 -# sacct -T -S2014-07-03-11:50 -E2014-07-03-12:00 -ojobid,jobname,user,start,end,state +# sacct \-T \-S2014\-07\-03\-11:50 \-E2014\-07\-03\-12:00 \-ojobid,jobname,user,start,end,state JobID JobName User Start End State \-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\-\- -2 job_sc2 nyee 2014-07-03T11:50:00 2014-07-03T11:59:01 COMPLETED -3 job_sc3 nyee 2014-07-03T11:50:00 2014-07-03T12:00:00 RUNNING -4 job_sc4 nyee 2014-07-03T11:50:00 2014-07-03T11:45:21 COMPLETED -5 job_sc5 nyee 2014-07-03T11:51:01 2014-07-03T12:00:00 PENDING +2 job_sc2 nyee 2014\-07\-03T11:50:00 2014\-07\-03T11:59:01 COMPLETED +3 job_sc3 nyee 2014\-07\-03T11:50:00 2014\-07\-03T12:00:00 RUNNING +4 job_sc4 nyee 2014\-07\-03T11:50:00 2014\-07\-03T11:45:21 COMPLETED +5 job_sc5 nyee 2014\-07\-03T11:51:01 2014\-07\-03T12:00:00 PENDING .ft 1 .fi .RE .PP -This example demonstrates the the use of -S (--starttime) and -E -(--endtime) without the use of the -T option. When the -T (--truncate) +This example demonstrates the the use of \-S (\-\-starttime) and \-E +(\-\-endtime) without the use of the \-T option. When the \-T (\-\-truncate) option is not specified the output of sacct will be all the jobs that ran between the specified start time and the specified end time, but the time displayed by sacct will be the start time and end time of the job. @@ -906,13 +906,13 @@ time displayed by sacct will be the start time and end time of the job. .PP .nf .ft 3 -# sacct -S2014-07-03-11:50 -E2014-07-03-12:00 -ojobid,jobname,user,start,end,state +# sacct \-S2014\-07\-03\-11:50 \-E2014\-07\-03\-12:00 \-ojobid,jobname,user,start,end,state JobID JobName User Start End State \-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\-\- -2 job_sc2 nyee 2014-07-03T11:33:16 2014-07-03T11:59:01 COMPLETED -3 job_sc3 nyee 2014-07-03T11:35:21 Unknown RUNNING -4 job_sc4 nyee 2014-07-03T11:35:21 2014-07-03T11:45:21 COMPLETED -5 job_sc5 nyee 2014-07-03T11:41:01 Unknown PENDING +2 job_sc2 nyee 2014\-07\-03T11:33:16 2014\-07\-03T11:59:01 COMPLETED +3 job_sc3 nyee 2014\-07\-03T11:35:21 Unknown RUNNING +4 job_sc4 nyee 2014\-07\-03T11:35:21 2014\-07\-03T11:45:21 COMPLETED +5 job_sc5 nyee 2014\-07\-03T11:41:01 Unknown PENDING .ft 1