How to modify queue configuration from the command line
- Details Hits: 5002
You can usually administer the SGE through qmon. The problem is that you do not always have acces to X, and when you do have acces, you require special fonts.
For changing queue configurations from the command line, SGE gives you two posibilities: commands that run a native editor and you cand edit them through a console and commands that take the modifications from a file.
For example we wish to modify the ibm-quad queue and eliminate the cpu limitations.
[heri@batch ~]$ qconf -mq ibm-quad
This email address is being protected from spambots. You need JavaScript enabled to view it. modified "ibm-quad" in cluster queue list
This command shows you an editor with all options. The alternative command, would be -Mq
qname ibm-quadhostlist @ibm-quad
seq_no 0
load_thresholds np_load_avg=2.50
suspend_thresholds NONE
nsuspend 2
suspend_interval 00:05:00
priority 0
min_cpu_interval 00:05:00
processors UNDEFINED
qtype BATCH
ckpt_list NONE
pe_list ibm-quad
rerun FALSE
slots 2
tmpdir /var/tmp
shell /bin/csh
prolog NONE
epilog NONE
shell_start_mode posix_compliant
starter_method NONE
suspend_method NONE
resume_method NONE
terminate_method NONE
notify 00:00:60
owner_list NONE
user_lists NONE
xuser_lists NONE
subordinate_list NONE
complex_values NONE
projects NONE
xprojects NONE
calendar NONE
initial_state default
s_rt INFINITY
h_rt INFINITY
s_cpu INFINITY
h_cpu INFINITY
s_fsize INFINITY
h_fsize INFINITY
s_data INFINITY
h_data INFINITY
s_stack INFINITY
h_stack INFINITY
s_core INFINITY
h_core INFINITY
s_rss INFINITY
h_rss INFINITY
s_vmem INFINITY
h_vmem INFINITY