sge_qstat (5) - Linux Manuals

sge_qstat: xxQS_NAMExx default qstat file format


sge_qstat - xxQS_NAMExx default qstat file format


sge_qstat defines the command line switches that will be used by qstat by default. If available, the default sge_qstat file is read and processed by

There is a cluster global and a user private sge_qstat file. The user private file has the highest precedence and is followed by the cluster global sge_qstat file. Command line switches used with override all switches contained in the user private or cluster global sge_qstat file.

The format of the default files is:

The default sge_qstat file may contain an arbitrary number of lines. Blank lines and lines with a '#' sign in the first column are skipped. Each line not to be skipped may contain any option. More than one option per line is allowed.


The following is a simple example of a default sge_qstat file:

# Just show me my own running and suspended jobs
-s rs -u $user

Having defined a default sge_qstat file like this and using qstat as follows:


has the same effect as if qstat was executed with:

qstat -s rs -u current_user
(Note that -u $USER is now the default behaviour.)


<xxqs_name_sxx_root>/<cell>/common/sge_qstat global defaults file
$HOME/.sge_qstat        user private defaults file


See for a full statement of rights and permissions.