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_qstat file, and
  • a user private sge_qstat file.

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_qstat file 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 any qstat(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.


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 βœ¨πŸ’–