[gridway-user] Removing hundreds of jobs from gwps
Tino Vazquez
tinova79 at gmail.com
Wed Nov 7 11:19:59 CST 2007
Try the hard kill of gwkill:
gwkill -9 <job_id>
Regards,
-Tino
On Nov 7, 2007 4:59 PM, John-Paul Robinson <jpr at uab.edu> wrote:
> On the same thread, is there a way to gwkill a job that is hung in a
> non-killable state? Or is the best solution to remove the enteries from
> $GW_LOCATION/var
>
> I have several jobs caught in the prolog state hung at:
>
> "Copying file file:///opt/gw/libexec/gw_wrapper.sh."
>
> Thanks,
>
> ~jpr
>
> jfontan wrote:
> >
> > Hello,
> >
> > There is not a command to do that but you can easily delete them using
> > two commands:
> >
> > gwkill `gwps -s f -n -o J`
> >
> > this will kill all failed jobs for any user, alternatively you can use:
> >
> > gwkill `gwps -u your_user -s f -n -o J`
> >
> > to kill failed jobs for your user.
> >
> > gwps explained:
> >
> > -u ..: name of the user to list jobs
> > -s f: list only failed jobs
> > -n: do not print headers
> > -o J: print only job id's
> >
> > Bye
> >
> > On Nov 7, 2007, at 2:32 PM, Raül Sirvent wrote:
> >
> >> Dear all,
> >>
> >> I have in gwps hundreds of jobs that have failed. Is there a way to
> >> kill or wait all of them without going one by one? I didn't find any
> >> (like a -u flag).
> >>
> >> Thanks. Best regards,
> >>
> >> Raul.
> >>
> >
>
>
--
+-----------------------------------------------------------+
Tino Vázquez
Grid Technology Engineer/Researcher
Dpto. Arquitectura de Computadores y Automatica
Facultad de Informatica
Universidad Complutense 28040 Madrid
Phone : +34 91 394 75 74
http://asds.dacya.ucm.es/
+-----------------------------------------------------------+
GridWay, The Way to Grid! http://www.gridway.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.globus.org/pipermail/gridway-user/attachments/20071107/60374681/attachment.htm>
More information about the gridway-user
mailing list