Am 20.07.2011 um 11:11 schrieb William Hay: > On 19 July 2011 23:50, Reuti <[email protected]> wrote: >> Am 20.07.2011 um 00:39 schrieb Wagner, Justin: >> >>>> what do you mean by "sometimes" - just literally? You rerun the command >>>> and it changes all the time? >>> >>> That is exactly what I mean. Last week it displayed only running jobs, and >>> today it is displaying running and pending. And I have seen it go back and >>> forth in this manner. >> >> I assume you have more than one queue then. >> >> Specifying a queue will limit the output to the pending jobs which could run >> in this particular queue at all. So the same pending job might appear at >> several -q outputs. >> > I have a similar issue here. qstat -u "*" -s p -q "*" produces no > output even though several of the queued jobs are making reservations > according to our schedule file. > The idea was to list jobs eligible to run excluding jobs in a held or > Error state but it doesn't seem to do so.
Okay, in one cluster I can confirm this. Looks like -q is messing up the things. I'll file an issue, as I can't find an appropriate one in the existing ones. -- Reuti >> The unseen pending jobs ran finally in the queue in question? >> >> You could investigate this if it occurs again by setting "schedd_job_info >> true" in the scheduler configuration and check the output for this job with >> `qstat -j <jobid>`. >> >> >>>> There could be a hard coded option in .sge_qstat file. The behavior >>>> changes when you specify in addition "-s r" or > "-s p" and extended it to >>>> all users with "-u \*"? >>> >>> Right now it is displaying both pending and running jobs, and specifying >>> "-s pr -u \*" does not change the output. >>> >>> $ cat $SGE_ROOT/$SGE_CELL/common/sge_qstat >>> -u * >>> >>> $ cat ~/.sge_qstat >>> cat: /home/jwagner/.sge_qstat: No such file or director >> >> Ok - Reuti >> _______________________________________________ >> users mailing list >> [email protected] >> https://gridengine.org/mailman/listinfo/users >> > _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
