QTCSH(1)
β¨ QTCSH(1) β Grid Engine User Commands β¨
okay bestie, sit down, hydrate, because this one is so good. it's qtcsh, the Grid Engine user command that's literally just your fave tcsh but with transparent remote execution through qrsh. yes. she does it all. π
πΈ NAME πΈ
qtcsh β tcsh with transparent remote execution by use of qrsh
π SYNTAX π
qtcsh [ tcsh options | -ABLR ]
π DESCRIPTION π
so Qtcsh is an extension to csh(1)'s very popular derivative tcsh. she lets you transparently remote-execute the commands you type into qtcsh, all controlled via Grid Engine. and the range?? immaculate. Qtcsh works as an interactive command interpreter and for processing tcsh shell scripts. versatile queen. π
when she's invoked, qtcsh figures out which commands are gonna run remotely and which ones are staying home. how, you ask? by processing these two files:
<sge_root>/<cell>/common/qtask~/.qtask
each line in these files defines a command that's intended to run remotely (peep qtask(5) for the actual file format definition, no gatekeeping). the .qtask file in the user's home directory holds that user's remote task specification, while the file in the common directory is the admin's and defines a cluster-wide default behavior. π«
and here's the tea on precedence: the contents of the admin-supplied qtask(5) file get completely overridden if there's a matching entry in the user's qtask(5) file. but β plot twist β that override is prevented if an exclamation mark is prefixed to the command name in the administrator's qtask file. periodt.
Qtcsh always attempts to start the designated tasks remotely via qrsh(1). the exceptions are, like:
- if the user enters such commands via a relative or absolute pathname instead of the stand-alone command name (go read
qtask(5)for more info, i promise it slaps); - if the environment variable
JOB_IDis set, in which caseqtcshassumes execution already happens remotely inside a Grid Engine job and therefore executes tasks locally. this avoids unwanted recursions, but you can override it with the command-line option-Rand the built-in commandqrshmode -R(descriptions below, keep scrolling babe); - if
qtcshcannot establish a connection to Grid Engine during start-up. which is lowkey a serve, because it means you can useqtcshas a login shell without the danger of being blocked when no Grid Engine service is available. π«Ά
Qtcsh can operate in three different modes, which determine whether:
- tasks are executed remotely;
- immediate or batch execution is requested;
- status output is verbose or only shown in case of any errors.
and you control these modes either with the command-line switches described below at qtcsh invocation time, or from inside a running qtcsh via the built-in command qrshmode β see the BUILT-IN COMMANDS section. π
π₯ OPTIONS π₯
the options below are specific to qtcsh. for everything else, the user is referred to the tcsh(1) documentation, she has the range.
-Aβ switchesqtcshinto verbose mode, causing diagnostic output in case of remote execution. not me wanting all the details π-Bβ switches remote task execution into batch mode. tasks submitted to Grid Engine will be queued if they cannot start immediately. as a consequence,qtcshmay block until the queued task can be started by Grid Engine. while this behavior probably is undesirable during an interactive session, it may be very useful for execution of shell scripts throughqtcsh, since it avoids failure of the scripts due to temporarily unavailable resources for particular tasks. iconic for scripts, annoying for vibing.-Lβ switches off the default behavior of remote execution of commands. causes all commands to be executed locally even if they are contained in one of theqtask(5)files. staying home era π-Rβ enforces remote execution of commands even ifJOB_IDis set as environment variable. no cap, she will go remote.
π¦ BUILT-IN COMMANDS π¦
this section only describes additional shell builtin commands which are not available in standard tcsh(1). exclusive content only β¨
qrshmode [-ANBILR]
without options, the current operational mode of qtcsh is displayed. the options have the following effect:
-Aβ switch to verbose output mode-Nβ switch to non-verbose output mode-Bβ switch to batch execution mode-Iβ switch to immediate execution mode-Lβ always execute commands locally-Rβ execute configured commands remotely
π ENVIRONMENT VARIABLES π
SGE_ROOTβ specifies the location of the Grid Engine standard configuration files.SGE_CELLβ if set, specifies the default Grid Engine cell. to address a Grid Engine cellqtcshuses (in the order of precedence):- the name of the cell specified in the environment variable
SGE_CELL, if it is set. - the name of the default cell, i.e.
default.
- the name of the cell specified in the environment variable
SGE_DEBUG_LEVELβ if set, specifies that debug information should be written tostderr. in addition, the level of detail in which debug information is generated is defined. detective mode πSGE_QMASTER_PORTβ if set, specifies the tcp port on whichsge_qmaster(8)is expected to listen for communication requests. most installations will use a services map entry for the servicesge_qmasterinstead to define that port.JOB_IDβ if set when startingqtcsh, the local operation mode is activated implicitly as if the-Loption was specified.
π FILES π
~/.qtaskβ user qtask file.<sge_root>/<cell>/common/qtaskβ cluster qtask file.
β SEE ALSO β
sge_intro(1), qrsh(1), qtask(5) as well as tcsh(1).
π COPYRIGHT π
Qtcsh is an adaptation of tcsh which is copyrighted by The Regents of the University of California.
see sge_intro(1) and the information provided in <sge_root>/doc/LICENCES for a statement of further rights and permissions.
okay that's the whole page, bestie, you ate that reading session fr fr π«Ά this was SGE 8.1.3pre, dated 2011-10-21 β she's a vintage icon and she still slays. mwah π bye babes π¦β¨
π¦ where this page comes from
- debian bookworm: gridengine-client 8.1.9+dfsg-10+b1 Β· SISSL
- debian trixie: gridengine-client 8.1.9+dfsg-13.1 Β· SISSL
- ubuntu jammy: gridengine-client 8.1.9+dfsg-10build1 Β· SISSL
- ubuntu noble: gridengine-client 8.1.9+dfsg-11build3 Β· SISSL
- ubuntu questing: gridengine-client 8.1.9+dfsg-13.1
- ubuntu resolute: gridengine-client 8.1.9+dfsg-13.2 Β· SISSL
- ubuntu stonking: gridengine-client 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