Skip to main content

qconf

Overview

qconf is a tool for querying Sun Grid Engine (SGE) configuration information. This implementation provides a compatibility interface for the FSCHED environment. The command lets users view queues, parallel environments, and other system configuration parameters.


Parameters

Supported Options

Queue Management

OptionValue RequiredValue RangePurposeKey Differences
-sqlNoNoneList all queue names
-sqYesQueue nameShow detailed configuration for a specific queueSome fields are dummy values

Host Management

OptionValue RequiredValue RangePurposeKey Differences
-selNoNoneList all execution hosts
-seYesHostnameShow detailed configuration for a specific hostSome fields are dummy values
-shNoNoneList all administration hostsReturns the control node
-ssNoNoneList all submit hostsReturns the control node

Host Group Management

OptionValue RequiredValue RangePurposeKey Differences
-shgrplNoNoneList all host groupsRead from config file; returns @allhosts if not configured
-shgrpYesHost group nameShow host group detailsRead from config file
-shgrp_treeYesHost group nameShow host groups in tree formDisplays host group hierarchy
-shgrp_resolvedYesHost group nameShow resolved host listExpands all hostnames

Parallel Environments

OptionValue RequiredValue RangePurposeKey Differences
-splNoNoneList all parallel environmentsReturns smp and mpi by default
-spYesParallel environment nameShow parallel environment detailsRead from config file

Users and Projects

OptionValue RequiredValue RangePurposeKey Differences
-suserlNoNoneList all usersFrom config file or database
-suserYesUser nameShow user detailsFrom config file or database; some fields are dummy values
-sprjlNoNoneList all projectsFrom config file or database
-sprjYesProject nameShow project detailsFrom config file or database

Access Control

OptionValue RequiredValue RangePurposeKey Differences
-sulNoNoneList all user sets/ACLsRead from config file
-suYesACL nameShow user set detailsRead from config file
-smNoNoneList all managersCurrently fixed to root
-soNoNoneList all operatorsFixed to NONE

Configuration Management

OptionValue RequiredValue RangePurposeKey Differences
-sconfOptionalglobal or hostnameShow global or host configurationFrom system configuration
-ssconfNoNoneShow scheduler configurationFrom system configuration
-sconflNoNoneList all configuration hostsReturns the control node

Complex Resources

OptionValue RequiredValue RangePurposeKey Differences
-scNoNoneShow all complex resource attribute definitionsReturns a predefined resource attribute list

Resource Quotas

OptionValue RequiredValue RangePurposeKey Differences
-srqslNoNoneList all resource quota setsFrom the database
-srqsNoQuota set name (optional)Show quota set details; show all if no name is specifiedOnly name, description, enable status, and job/runtime/CPU limits are supported; complex filter rules are not supported

Scheduler Status

OptionValue RequiredValue RangePurposeKey Differences
-sssNoNoneShow scheduler statusReturns control node information

Other Options

OptionValue RequiredValue RangePurposeKey Differences
-helpNoNoneShow helpShows all supported options
-versionNoNoneShow versionShows wrapper version and build information

Advanced Queries

OptionValue RequiredValue RangePurposeKey Differences
-sobjlYesobject_type attribute valueList objects matching the criteriaPartially supported

Queue Configuration Output (-sq)

FieldDescriptionKey Differences
qnameQueue nameFrom queue configuration
hostlistHost listFrom queue configuration
seq_noSequence numberDummy value 0
load_thresholdsLoad thresholdsFixed value "np_load_avg=1.75"
suspend_thresholdsSuspend thresholdsDummy value "NONE"
nsuspendNumber of suspended slotsDummy value 1
suspend_intervalSuspend intervalDummy value "00:05:00"
priorityPriorityFrom queue configuration
min_cpu_intervalMinimum CPU intervalDummy value "00:05:00"
processorsProcessor limitDummy value "UNDEFINED"
qtypeQueue typeDummy value "BATCH INTERACTIVE"
ckpt_listCheckpoint interface listDummy value "NONE"
pe_listParallel environment listFixed value "make smp mpi"
rerunRerun flagDummy value "FALSE"
slotsTotal slotsFrom queue configuration
tmpdirTemporary directoryFixed value "/tmp"
shellShell pathFixed value "/bin/sh"
prologProlog scriptFrom system configuration or "NONE"
epilogEpilog scriptFrom system configuration or "NONE"
shell_start_modeShell start modeFixed value "posix_compliant"
starter_methodStarter methodDummy value "NONE"
suspend_methodSuspend methodDummy value "NONE"
resume_methodResume methodDummy value "NONE"
terminate_methodTerminate methodDummy value "NONE"
initial_stateInitial stateFrom queue configuration
s_rtSoft real-time limitFrom queue configuration or "INFINITY"
h_rtHard real-time limitFrom queue configuration or "INFINITY"
s_cpuSoft CPU limitDummy value "INFINITY"
h_cpuHard CPU limitDummy value "INFINITY"
s_fsizeSoft file size limitDummy value "INFINITY"
h_fsizeHard file size limitDummy value "INFINITY"
s_dataSoft data limitDummy value "INFINITY"
h_dataHard data limitDummy value "INFINITY"
s_stackSoft stack limitDummy value "INFINITY"
h_stackHard stack limitDummy value "INFINITY"
s_coreSoft core file limitDummy value "INFINITY"
h_coreHard core file limitDummy value "INFINITY"
s_rssSoft RSS limitDummy value "INFINITY"
h_rssHard RSS limitDummy value "INFINITY"
s_vmemSoft virtual memory limitDummy value "INFINITY"
h_vmemHard virtual memory limitDummy value "INFINITY"

Host Configuration Output (-se)

FieldDescriptionKey Differences
hostnameHostnameFrom host configuration
load_scalingLoad scalingDummy value "NONE"
complex_valuesComplex resource valuesDummy value "NONE" (load data is in the load_values field)
load_valuesLoad valuesReal-time load from system information
processorsProcessor countFrom host configuration
user_listsUser listDummy value "NONE"
xuser_listsExcluded user listDummy value "NONE"
projectsProject listDummy value "NONE"
xprojectsExcluded project listDummy value "NONE"
usage_scalingUsage scalingDummy value "NONE"
report_variablesReport variablesDummy value "NONE"

Parallel Environment Configuration Output (-sp)

FieldDescriptionKey Differences
pe_nameParallel environment nameFixed to smp or mpi
slotsSlotssmp=999, mpi=99999
allocation_ruleAllocation rulesmp="$pe_slots", mpi="$fill_up"
accounting_summaryAccounting summarysmp=TRUE, mpi=FALSE
control_slavesControl slavesFixed value TRUE
job_is_first_taskJob is first taskFixed value TRUE

User Information Output (-suser)

FieldDescriptionKey Differences
nameUser nameFrom config file or database
oticketOverride ticketsDummy value 0
fshareFunctional sharesDummy value 0
delete_timeDelete timeDummy value
default_projectDefault projectFrom config file or database

Examples

Example 1: List all queues

qconf -sql

Sample output:

compute
test

Example 2: Show queue details

qconf -sq compute

Sample output:

qname                 compute
hostlist compute[1-11]
seq_no 0
...

Example 3: List all execution hosts

qconf -sel

Sample output:

compute1
compute2
test1

Example 4: Show host details

qconf -se compute1

Sample output:

hostname              compute1
load_scaling NONE
complex_values NONE
...

Example 5: Show global configuration

qconf -sconf global

Sample output:

#global:
execd_spool_dir /opt/fastone/wrappers/sge/spool
mailer /bin/mail
...

Example 6: List all host groups

qconf -shgrpl

Sample output:

@allhosts

Example 7: List all parallel environments

qconf -spl

Sample output:

smp
mpi

Example 8: List all users

qconf -suserl

Sample output:

root

Example 9: Show project details

qconf -sprj project_a

Sample output:

name project_a
oticket 0
fshare 0
acl NONE
xacl NONE

Example 10: List resource quota sets

qconf -srqsl

Sample output:

normal
high
medium
low

Notes

Unsupported Features

  • All modification options (-a*, -m*, etc.): No configuration changes are supported
  • Administrative options (-k*, -clearusage, etc.): No administrative operations are supported

Parameter Limitations

  • -sp only supports predefined parallel environments (smp, mpi)
  • -sconf only supports global configuration