Author Topic: qbremove - howto ?  (Read 9892 times)

Achilles

  • Sr. Member
  • ****
  • Posts: 25
qbremove - howto ?
« on: May 03, 2010, 02:05:28 PM »
for example i want to remove all jobs in state "killed":

Code: [Select]
#/Applications/pfx/qube/bin/qbjobs -u all
total: 0/37 cpu(s)      0/2640 work
%    id   pid  pgrp  label  status    user  type  name                               cpus  priority  cluster  groups
 12  333  1    333   qube1  killed    node1   maya  no vis                             0/2   9999      /

after reading "qbremove -h" I would do it like that:

Code: [Select]
#/Applications/pfx/qube/bin/qbremove --killed 0
removed job: nothing

... result "removed job nothing"

.. searching this forum, found some entries about "qbjobs" stating "qbjobs -u all" would list all jobs. tried it with qbremove:

Code: [Select]
# /Applications/pfx/qube/bin/qbremove --killed -u all 0
removed job: 333-337,339,346-349

... why ist the "-u all" mandatory to get it working?

Qube Version: 5.5-2

jburk

  • Administrator
  • *****
  • Posts: 493
Re: qbremove - howto ?
« Reply #1 on: May 03, 2010, 02:08:26 PM »
By default most of the utilities (qbjobs and qbremove, qbmodify, etc.) only list/remove/modify jobs belonging to the current user.


Achilles

  • Sr. Member
  • ****
  • Posts: 25
Re: qbremove - howto ?
« Reply #2 on: May 03, 2010, 02:36:04 PM »
ok, it would be nice if it would be stated in the help text (and documentation too!), that it will only operate on the own user if not giving "--user" als command line option.

thanks!

jburk

  • Administrator
  • *****
  • Posts: 493
Re: qbremove - howto ?
« Reply #3 on: May 04, 2010, 05:39:40 PM »
noted.