Kevin Buckley <[email protected]> writes: > Whoops, > > forgot to copy the list in > > On 19 June 2012 10:08, Joseph Farran <[email protected]> wrote: >> After making this the system wide default, how can an individual users >> change it back to just show their jobs? >> >> In one account, I created: >> >> $ cat ~/.sge_qstat >> -u $USER >> >> Trying to switch it back to only listing this one user qstat jobs, but I >> still get the system wide listing of everyone. > > The user file seems to add to the existing command line, ie including the > stuff from the system-wide definitions.
Yes, arguments from the various sources are concatenated, and perhaps sge_request(5) should be more explicit. This is https://arc.liv.ac.uk/trac/SGE/ticket/810 though I should add this note. Like similar options, the union of multiple -u arguments is taken, i.e. -u A -u B is equivalent to -u A,B and with * present, you get everything. I'm not sure it's worth the incompatibility and effort to change that in this case and any others where it might make sense. > If you trace, eg do an strace of, the qstat invocation with both defiinitions > active, you'll see that both the -u * and -u $USER are being processed. > > I think you may be approaching this in a slightly suboptimal way though, > involving two changes, the system-wide define and the user-education > define, when one "change" would suffice. Right. (You can use -clear in ~/.sge_request, but then you lose any other system-defined things like helpful JSVs.) -- Community Grid Engine: http://arc.liv.ac.uk/SGE/ _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
