QHOST(1)
π qhost(1) β the manual page bestie π
Grid Engine User Commands β¨ this is the one, the icon, the legend: qhost
πΈ NAME πΈ
qhost β show the status of Grid Engine hosts, queues, jobs π«Ά
π SYNTAX π
qhost [-F [resource_name,...]] [-help] [-h host_list] [-j] [-l
resource[=val],...] [-ncb] [-u user,...] [-xml]
no cap, that's the whole vibe right there π
π¦ DESCRIPTION π¦
okay so qhost is literally the girl who knows everything about what's going on. she shows you the current status of the available Grid Engine hosts, the queues, and the jobs hanging out with those queues π
the selection options let you zero in on specific hosts, queues, jobs, or users. key thing tho: if you do multiple selections, a host only shows up if it meets all of the selection criteria β like, everybody has to agree, it's giving group chat consensus fr fr π«Ά
and if you run it with no options at all? qhost gives you a list of all hosts, no queue info, no job info. just vibes β¨
π OPTIONS π
-F [resource_name,...]βqhostpulls up a detailed listing of the current resource availability per host, either for all resources (when you leave the option argument off) or just for the ones in the resource_name list. the whole Full Format situation is explained down in OUTPUT FORMATS, go look π-helpβ prints a listing of all options. the tutorial episode π-h host_listβ prints a list of all hosts contained in host_list.-jβ prints all jobs running on the queues hosted by the shown hosts. heads up: this switch calls-qimplicitly. it's giving "I brought a friend" π-l resource[=value],...β defines the resources that the hosts need to be granting in order to be included in the host list output. matching happens on hosts based on non-mutable resource availability information only. translation: load values are always ignored, except the so-called static load values listed inload_parameters(5). also consumable utilization? ignored, periodt. and if you give multiple-l resourcerequests, they get concatenated by a logical AND β a host needs to match all the resources to be displayed π₯-ncbβ this command line switch gets you6.2u5-compatible output with the otherqhost(1)command line switches. in that case the output of the corresponding command suppresses information about the execution host topology. > β οΈ heads up bestie: this option will be removed in the next major version. don't get attached π-qβ show information about the queue instances hosted by the displayed hosts.-u user,...β display information only on those jobs and queues associated with the users from the given user list. it's giving very selective π-xmlβ this one plays nice with all the other options and flips the output to XML. the schemas used are referenced in the XML output. output goes tostdoutπ¨οΈ
if you combine -xml with -ncb, then the XML output will contain 6.2u5-compatible output.
π OUTPUT FORMATS π
depending on whether -q or -F and -j are there or not, you get three different output formats. three flavors, three aesthetics, we love range β¨
π Default Format (without -q, -F and -j)
for each host, one line gets printed. the output consists of:
- the Hostname
- the Architecture
- the Number of processors
- the Load
- the Total Memory
- the Used Memory
- the Total Swapspace
- the Used Swapspace
more details live in load_parameters(5) π
if the -q option is supplied, each host status line also gets extra lines for every queue hosted by the host, consisting of:
- the queue name,
- the queue type β one of
B(atch),I(nteractive), or a combination thereof, - the number of reserved (by advance reservation, not resource reservation), used and available (according to the queue's
slotsparameter) job slots, - the state of the queue β one of
u(nknown),a(larm),A(larm),C(alendar suspended),s(uspended),S(ubordinate),d(isabled),D(isabled),E(rror),(c)onfiguration ambiguous,(o)rphaned,(P)reempted, or some combinations thereof. see the section "Full Format" inqstat(1)for the explanation of the status flags π¦
if the -F option was used, resource availability information gets printed following the host status line. for each resource (as selected in an option argument to -F, or for all resources if the option argument was omitted) a single line is displayed with the following format:
- a one letter specifier indicating whether the current resource availability value was dominated by either
gβ a cluster global,hβ a host total or - a second one letter specifier indicating the source for the current resource availability value, being one of
lβ a load value reported for the resource,Lβ a load value for the resource after administrator defined load scaling has been applied,cβ availability derived from the consumable resources facility (seecomplexes(5)),fβ a fixed availability definition derived from a non-consumable complex attribute or a fixed resource limit. - after a colon the name of the resource on which information is displayed.
- after an equal sign the current resource availability value.
the displayed availability values and the sources they derive from are always the minimum values of all possible combinations. so, for example, a line of the form qf:h_vmem=4G indicates that a queue currently has a maximum availability in virtual memory of 4 Gigabyte, where this value is a fixed value (e.g. a resource limit in the queue configuration) and it is queue dominated β i.e. the host in total may have more virtual memory available than this, but the queue doesn't allow for more. conversely, a line hl:h_vmem=4G would also indicate an upper bound of 4 Gigabyte virtual memory availability, but the limit would be derived from a load value currently reported for the host. so while the queue might allow for jobs with higher virtual memory requirements, the host on which this particular queue resides currently only has 4 Gigabyte available π iconic behavior tbh
after the queue status line (in case of -j) a single line is printed for each job running currently in this queue. each job status line contains:
- the job ID,
- the job name,
- the job owner name,
- the status of the job β one of
t(ransfering),r(unning),R(estarted),s(uspended),S(uspended) orT(hreshold) (see the Reduced Format section for detailed information), - the start date and time and the function of the job (
MASTERorSLAVEβ only meaningful in case of a parallel job) and - the priority of the jobs.
π§ 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 cell,qhostuses (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.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.
π FILES π
<sge_root>/<cell>/common/act_qmasterβ Grid Engine master host file
β SEE ALSO β
sge_intro(1), qalter(1), qconf(1), qhold(1), qmod(1), qstat(1), qsub(1), load_parameters(5), queue_conf(5), sge_execd(8), sge_qmaster(8), sge_shepherd(8).
π«Ά COPYRIGHT π«Ά
see sge_intro(1) for a full statement of rights and permissions.
and that's the whole page bestie, mwah π this one came from SGE 8.1.3pre and it's dated 2011-12-04 β vintage but still serving, lowkey iconic, periodt π β¨π
π¦ 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