[gridengine users] qconf -sobjl
mahbube rustaee
rustaee at gmail.com
Tue Jan 17 10:03:51 UTC 2012
[root at xen ~]# qconf -sobjl queue prolog "*"
shows queues with any setting on prolog attribute.
qconf -sobjl queue prolog "/opt/prolog.sh"
shows queues with prolog value set to e.g. /opt/prolog.sh
if you'd like to show values of prolog attr on any queue , you could script
like:
qconf -sq <queue-name> | grep prolog
or
qconf -sq `qconf -sql` | grep prolog
On Tue, Jan 17, 2012 at 1:23 PM, Gerard Henry <ghenry at cmi.univ-mrs.fr>wrote:
> very thanks for your answer.
>
> But does it mean that i can't retrieve the name of the epilog script with
> this command, in case there are differents scripts on differnts queues?
> For instance, if i want queues that don't set the attribute prolog to NONE?
>
>
> On 01/17/12 10:47 AM, mahbube rustaee wrote:
>
>> qconf --help show your answer:
>>
>> [-sobjl obj_nm2 attr_nm val] show objects which match the
>> given value
>> obj_nm2 "queue"|"queue_domain"|"queue_**instance"|"exechost"
>>
>> example:
>> # list of queues that set prolog attribute to NONE , NONE can be another
>> setting.
>> [sgeadmin at rakhsh ~]$ qconf -sobjl queue prolog NONE
>> std-mechanic.q
>> pub-serial.q
>> pub-all-gpu.q
>> all.q
>> ansys.q
>> pub-all-amd.q
>> pub-all-xeon.q
>>
>> --
>> rustaee
>>
>> On Tue, Jan 17, 2012 at 12:42 PM, Gerard Henry <ghenry at cmi.univ-mrs.fr
>> <mailto:ghenry at cmi.univ-mrs.fr**>> wrote:
>>
>> hello all,
>>
>> i don't understand how to use the option -sobjl in qconf?:
>> -sobjl obj_spec attr_name val <show object list>
>>
>> i just want to verify that some queues contains the correct epilog
>> script. I can do it with grep, but perhaps it's easy with another
>> option?
>> Anybody has an example of "qconf -sobjl obj_spec attr_name val" ?
>> [me at master ~]$ qconf -sobjl q1 epilog *
>> error: invalid option argument "mbox"
>> Usage: qconf -help
>>
>>
>> thanks in advance for help,
>>
>> gerard
>>
>> ______________________________**___________________
>> users mailing list
>> users at gridengine.org <mailto:users at gridengine.org>
>> https://gridengine.org/__**mailman/listinfo/users<https://gridengine.org/__mailman/listinfo/users>
>> <https://gridengine.org/**mailman/listinfo/users<https://gridengine.org/mailman/listinfo/users>
>> >
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gridengine.org/pipermail/users/attachments/20120117/7944f44b/attachment.html>
More information about the users
mailing list