On Tue, Jan 17, 2012 at 1:33 PM, mahbube rustaee <[email protected]> wrote:
> [root@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 > > and with qname also: > qconf -sq `qconf -sql` | grep -E "qname |prolog " > On Tue, Jan 17, 2012 at 1:23 PM, Gerard Henry <[email protected]>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@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 <[email protected] >>> <mailto:[email protected]**>> 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@master ~]$ qconf -sobjl q1 epilog * >>> error: invalid option argument "mbox" >>> Usage: qconf -help >>> >>> >>> thanks in advance for help, >>> >>> gerard >>> >>> ______________________________**___________________ >>> users mailing list >>> [email protected] <mailto:[email protected]> >>> >>> https://gridengine.org/__**mailman/listinfo/users<https://gridengine.org/__mailman/listinfo/users> >>> >>> <https://gridengine.org/**mailman/listinfo/users<https://gridengine.org/mailman/listinfo/users> >>> > >>> >>> >>> >> >
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
