控制队列前提:
LSF 管理员或 Root 用户,可以通过命令或设置运行窗口或派发窗口来控制队列。
一、关闭一个队列 :
===================
运行 badmin qclose 命令:
Badmin qclose normal
Queue 《normal 》
Badmin qclose –C “change configuration”normal
这个注释信息“change configuration”将被登记在 lsb.events 文件中。
Badmin qclose –C “add user” normal
紧接着输入
Badmin qclose –C “add user user1” normal
"QUEUE_CTRL" "7.0 1050082373 1 "normal" 32185 "lsfadmin" "add user" "QUEUE_CTRL" "7.0 1050082380 1 "normal" 32185 "lsfadmin" "add user user1"
2、使用 badmin hist 或 badmin qhist 来显示管理员在操作队列时登记的注 释信息。 Badmin qhist
badmin qhist
Fri Apr 4 10:50:36: Queueclosed by administrator change configuration.
bqueues -l 命令还可以显示如下的所登记的注释信息:
bqueues -l normal QUEUE: normal -- For normal low priority jobs, running only if hosts are lightly loaded. This is the default queue. PARAMETERS/STATISTICS PRIO NICE STATUS MAX JL/U JL/P JL/H NJOBS PEND RUN SSUSP USUSP RSV 30 20 Closed:Active - - - - 0 0 0 0 0 0 Interval for a host to accept two jobs is 0 seconds THREADLIMIT 7 SCHEDULING PARAMETERS r15s r1m r15m ut pg io ls it tmp swp mem loadSched - - - - - - - - - - - loadStop - - - - - - - - - - - cpuspeed bandwidth loadSched - - loadStop - - JOB EXCEPTION PARAMETERS OVERRUN(min) UNDERRUN(min) IDLE(cputime/runtime) Threshold - 2 - Jobs - 0 - USERS: all users HOSTS: all RES_REQ: select[type==any] ADMIN ACTION COMMENT: "change configuration"
网友留言: