Johnny, > Hi Danny, > Please see comments inline. > > > On Thursday, June 23, 2011 6:25:07 PM UTC+2, Danny Auble wrote: > > > > Perhaps I am misunderstanding what you are saying is the bug? > > > > > > Are you saying you are getting jobs that weren't eligible during that time? > > > > > > Yes you are right. Please see the output on the first post. > > I am trying to list jobs that have a started after 2011-06-22T16:27:10 (they > could be completed jobs as well) > But I also get jobs that have a start time earlier than 2011-06-22T16:27:10 > in the output. > > > > Meaning the job's end_time was before the starttime you specified and is > > still being displayed? > > > > No, the jobs's starttimes that are before the one that i specified are being > displayed.
Perhaps you are misunderstanding what it means then. You specifying the starttime will give you all jobs eligible, running or pending at that starttime. So the only way the job isn't going to be displayed is if the job ended before the specified starttime. If the job started before the starttime and finished afterwards this is expected behavior. If the job is being displayed that ended before the starttime then there is a bug. It doesn't sound like that is happening though. Danny > > > Regards, > Johnny > > > > > Hi Danny, > > > > > > > > > > Thank you for your reply. > > > > > I was infact looking to list completed jobs. Did not realize that you > > have > > > > > to specify the state (-s) to > > > > > view that. I did get the required output when I specified -sCD, but the > > > > > information when not using -s > > > > > is still incorrect. > > > > > > > > > > > > > > > from man sacct: > > > > > .... > > > > > .... > > > > > -S, --starttime > > > > > Select jobs eligible after the specified time. Default is > > > > > midnight of current day. If > > > > > states are given with the -s option then return jobs in > > > > > this state at this time, ’now’ > > > > > is also used as the default time. > > > > > > > > > > .... > > > > > .... > > > > > > > > > > > > > > > 1. This suggests that if -s is not provided, then eligible jobs in all > > > > > states will be reported. > > > > > 2. The incorrect information that i was referring to was that, jobs that > > > > > were " NOT ELIGIBLE" > > > > > were being reported. (I think this is still a bug, or else I am > > > > > misinterpreting the phrase > > > > > "any job eligible after that time") > > > > > > > > > > Thank you for your help. > > > > > > > > > > Regards, > > > > > Johnny > > > > > > > > > > > > > > > > > >
