Behavior Change in 6.1
By templedf on Apr 12, 2007
With the 6.1 version of Grid Engine, the default behavior of the qstat command will change. (The 6.1 beta version is available, but the official beta period is now over.) Prior to 6.1, when a user issues the qstat command without the -u option, information on all users' jobs is reported. This behavior is undesirable for two reasons. 1) It means that in a busy grid, the user may have to sort through hundreds or thousands of jobs that aren't his to try to find the ones that are. 2) It means that the qmaster has to do all of the work required to report information on all users' jobs. Using the -u option, a user can limit the job information reported to jobs belonging to a specified list of users. The most common case is for a user to request that only her jobs be reported.
We have come to the conclusion that it would be best for everyone involved if we made the common case the default case. It means less hassle for the users and less unnecessary load on the qmaster. So, starting with 6.1, if the qstat command is run without the -u option, it will behave as though there is an implicit
-u $USER, meaning that only the user's jobs will be reported. Users who prefer the 6.0-style behavior can call qstat with the
-u "\*" or put
-u "\*" in their sge_qstat files. (The quotes around the \* are to keep the shell from interpreting it.
-u \\\* would work just as well.) Administrators who prefer that the 6.0-style behavior remains the default behavior can add
-u \* to the global sge_qstat file.