[Moabusers] Disabling showq's listing of blocked jobs
Douglas Wightman
wightman at clusterresources.com
Fri Apr 20 07:26:39 MDT 2007
While there's nothing wrong with the patch I believe that it will have
to remain specific to your site. Almost all clusters use showq in
conjunction with "grep" to quickly narrow down on a job's state. Your
patch makes it so that showq no longer prints out the status of each
job. Because this breaks the default, expected behavior we are hesitant
to roll it into the main trunk.
What you are after has been partly implemented with "showq -s".
Thoughts?
- Douglas
On Fri, 2007-04-20 at 22:00 +1000, Chris Samuel wrote:
> On Fri, 20 Apr 2007, Chris Samuel wrote:
>
> > Rather than have showq frighten users by showing them 300+ blocked jobs
> > that aren't eligible to run each time they do "showq", is there a way to
> > get showq to say instead:
> >
> > 341 blocked jobs (use showq -b to list blocked jobs)
> >
> > ?
>
> OK - attached is a quick first pass of an ugly hack to implement this,
> comments will be most gratefully accepted!
>
> The end of the showq now looks like:
>
> blocked jobs-----------------------
> JOBID USERNAME STATE PROC WCLIMIT QUEUETIME
>
>
> 241 blocked jobs (use showq -b for a full list of blocked jobs)
>
> Total jobs: 351
>
> and that message goes away if you do a "showq -b".
>
> cheers,
> Chris
> _______________________________________________
> moabusers mailing list
> moabusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/moabusers
More information about the moabusers
mailing list