Hi, Am 06.09.2012 um 10:28 schrieb [email protected]:
> I want to manage some license with a load sensor. The load scrip is working > fine and I can set the remaining license. Unfortunatly, to determine the > correct free licenses, I need to get the license used by the grid engine. But > > "qstat -F license" > > gives me only the free licenses. By the first run, its no problem. But when I > change this value with the load sensor I got lost of the count, how much > licenses are used by the grid engine and how much by users, not included in > the cluster. Is there a command, which allows to request the amount of a > complex variable used by the grid engine and not the remaining value? you could use a complex in addition which will only be consumed by SGE jobs. Such a global complex can be added to "complex_values" in `qconf -me global`. Or: adjust your load sensor to compute an additional load, limited to the SGE jobs of this application, even if you need this value only to output it. You report the values to SGE; SGE on it's own can't decide how this value was computed by your load sensor script to leave amount out of the computation. -- Reuti > Kind Reagards > Jochen > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
