SGE_QSTAT(5)
β¨ SGE_QSTAT π
(the Grid Engine default qstat file format, bestie)
okay so listen β this is the sge_qstat file format. It's literally the file where you pre-load the command line switches that qstat is gonna use by default, so you don't have to type them every single time like a peasant. π
πΈ NAME πΈ
sge_qstat β Grid Engine default qstat file format. That's it, that's the whole vibe.
π DESCRIPTION π
So here's the tea: sge_qstat defines the command line switches that qstat will use by default. If it exists, the default sge_qstat file gets read and processed by qstat(1). Like, it just... happens. No cap.
There are two of these files in play:
- a cluster global
sge_qstatfile, and - a user private
sge_qstatfile.
The user private one has the highest precedence π β it wins β and after that comes the cluster global sge_qstat file. But also?? Any command line switches you actually pass to qstat(1) override all switches in the user private or cluster global sge_qstat file. Typing it live always beats the config file, periodt.
The format of the default files is:
- The default
sge_qstatfile may contain an arbitrary number of lines. Blank lines and lines with a#sign in the first column are skipped (that's your comment situation, iykyk). Each line that isn't skipped may contain anyqstat(1)option, and you can put more than one option per line β go off, multitask. π
π¦ EXAMPLES π¦
Here's a simple little example of a default sge_qstat file, and it's giving effortless:
=====================================================
# Just show me my own running and suspended jobs
-s rs -u $user
=====================================================
So if you define a default sge_qstat file like that, and then you just run:
qstat
it has the exact same effect as if qstat was executed with:
qstat -s rs -u <current_user>
(And note β -u $user is now the default behaviour. It's built in. Iconic of it, honestly.)
π FILES π
<sge_root>/<cell>/common/sge_qstatβ the global defaults file π$HOME/.sge_qstatuserβ the private defaults file π
β SEE ALSO β
sge_intro(1), qstat(1) β go read those too, bestie, they're the supporting cast.
π COPYRIGHT π
See sge_intro(1) for a full statement of rights and permissions.
okay that's the whole page, you ate it up π«Ά
SGE 8.1.3pre Β· 2007-03-23 β mwah, dated and everything, slay β¨π
π¦ where this page comes from
- debian bookworm: gridengine-common 8.1.9+dfsg-10 Β· SISSL
- debian trixie: gridengine-common 8.1.9+dfsg-13.1 Β· SISSL
- ubuntu jammy: gridengine-common 8.1.9+dfsg-10build1 Β· SISSL
- ubuntu noble: gridengine-common 8.1.9+dfsg-11build3 Β· SISSL
- ubuntu questing: gridengine-common 8.1.9+dfsg-13.1
- ubuntu resolute: gridengine-common 8.1.9+dfsg-13.2 Β· SISSL
- ubuntu stonking: gridengine-common 8.1.9+dfsg-13.2ubuntu1 Β· SISSL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms