当前位置:网站首页>lsf基础命令
lsf基础命令
2022-07-02 13:58:00 【TMC~McGrady】
1、mylsfhosts
mylsfhosts:查询当前用户可用的queues_name及所有的hosts节点。
2、bjobs
bjobs:检查当前用户提交作业状态。会显示所有jobs的JOBID、USER、STAT、QUEUE、FROM_HOST、EXEC_HOST、JOB_NAME、SUBMIT_TIME。
bjobs -r:显示正在运行的jobs。
bjobs -a:显示正在运行的和最近完成的作业。
bjobs -p: 显示等待运行的作业和等待原因。
bjobs -s: 显示正在挂起的作业和挂起的原因。
bjobs -l: 显示该作业的所有信息。
bjobs -u all -m machine_name:查询指定machine_name的所有jobs情况。
3、bhist
bhist:显示最近完成作业或正在运行作业的历史情况。
4、bkill
bkill jobid:删除指定job。
5、bpeek
bpeek jobid:当作业正在运行时显示它的标准输出,监视作业运行。Cannot bpeek an interactive job,不能peek交互式作业。
6、bqueues
bqueues:显示所有的队列信息,QUEUE_NAME、PRIO、STATUS、MAX、JL/U、JL/P、JL/H、NJOBS、PEND、RUN、SUSP。
7、bhosts
bhosts queues_name:显示各节点作业相关情况,HOST_NAME、STATUS、JL/U、MAX、NJOBS、RUN、SSUSP、USUSP、RSV。
bhosts -l machine_name:Total一行为整体状况,Reserved一行为预留,尤其是mem。
8、lsload
lsload machine_name:查询指定machine_name的负载情况,后面可以带多个服务器,同时查看。HOST_NAME、status、r15s、r1m、r15m、ut、pg、ls、it、tmp、swp、mem。
r15s:The 15-second exponentially averaged CPU run queue length.
r1m:The 1-minute exponentially averaged CPU run queue length.
r15m:The 15-minute exponentially averaged CPU run queue length.
ut:The CPU utilization exponentially averaged over the last minute, between 0 and 1. CPU利用率。
pg:The memory paging rate exponentially averaged over the last minute, in pages per second.内存分页速度。
ls:The number of current login users. login users用户登录数。
it:On UNIX, the idle time of the host (keyboard not touched on all logged in sessions), in minutes. 主机空闲时间。
On Windows, the it index is based on the time a screen saver has been active on a particular host.
tmp:The amount of free space in /tmp, in MB. tmp中可用的空间大小。
swp:The amount of available swap space. 可用缓存空间大小。
By default, the amount is displayed in KB. The amount may appear in MB depending on the actual system swap space. Use LSF_UNIT_FOR_LIMITS in lsf.conf to specify a larger unit for the limit (GB, TB, PB, or EB).
mem:The amount of available RAM. 可用mem空间大小。
By default, the amount is displayed in KB. The amount may appear in MB depending on the actual system memory. Use LSF_UNIT_FOR_LIMITS in lsf.conf to specify a larger unit for the limit (GB, TB, PB, or EB).
9、bsub
bsub:提交给lsf作业的命令
-I:交互模式,此时终端不能输入。-Ip、-Is表示在提交job的时候提供虚拟Terminal支持,比如vim这种应用。
-q:指定queues。
-P project_name:指定项目,一般用于标识和统计。
-m hostname:指定服务器,需要确保机器在当前队列中。
-R:
select: 资源选择,满足特定需求的计算节点。比如-R “select[mem>1G]”,表示内存大于1G的,才可以被用来执行相关的作业。
rusage:资源用量,作业需要使用的资源数量。比如-R “rusage[mem=512M]”,表示内存使用量为512M,保留给作业使用。调度器将这些资源从节点可用资源中扣除,不再分配给别人。
-R ‘rusage[mem=204800]’:单位为M,总共200G,保留200G的内存给该job使用。
order:资源顺序,计算节点的选择顺序。比如-R “order[mem]”,当多个机器可选的时候,优先选择内存较大的计算节点。
==-R ‘ut < 0.5 && r1m <10 && mem > 204800 && swap > 50000 order[ut]’ ==,多条件控制选择服务器。
IBM Knowledge Center中包含LSF相关的所有文档 :https://www.ibm.com/docs/en/spectrum-lsf/10.1.0
LSF命令行参考列表包括了每一个命令行帮助文档的链接:https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=reference-command
下载LSF社区版可以快速安装和使用LSF,虽然在数据中心是这管理员的活儿,但是自己想要试一下的话这个最便捷。:https://www.ibm.com/support/pages/where-do-i-download-lsf-community-edition
10、lshosts
lshosts hostname:查看机器资源状态,HOST_NAME、type、model、cpuf ncpus、maxmem、maxswp、server、RESOURCES。
边栏推荐
- 分析超700万个研发需求发现,这8门编程语言才是行业最需要的!
- Classic quotations
- Classifier visual interpretation stylex: Google, MIT, etc. have found the key attributes that affect image classification
- uboot的作用和功能
- Machine learning perceptron model
- Summary | three coordinate systems in machine vision and their relationships
- Serial port controls steering gear rotation
- Yyds dry inventory uses thread safe two-way linked list to realize simple LRU cache simulation
- 618 reprise en profondeur: la méthode gagnante de la famille Haier Zhi
- 学生选课系统(山东农业大学课程设计)
猜你喜欢

Executive engine module of high performance data warehouse practice based on Impala

大厂面试总结大全

LeetCode 1. 两数之和

Masa framework - DDD design (1)

Exploration and practice of integration of streaming and wholesale in jd.com

DGraph: 大规模动态图数据集

大廠面試總結大全

July 1st gift: Yi Jingjie's "hundred day battle" ended perfectly, and the database of Guiyang bank was sealed in advance
![john爆破出現Using default input encoding: UTF-8 Loaded 1 password hash (bcrypt [Blowfish 32/64 X3])](/img/4c/ddf7f8085257d0eb8766dbec251345.png)
john爆破出現Using default input encoding: UTF-8 Loaded 1 password hash (bcrypt [Blowfish 32/64 X3])

DigiCert SSL证书支持中文域名申请吗?
随机推荐
Global and Chinese market of oil analyzers 2022-2028: Research Report on technology, participants, trends, market size and share
618深度复盘:海尔智家的制胜方法论
Library management system (Shandong Agricultural University Curriculum Design)
Lampe respiratoire PWM
Exploration and practice of integration of streaming and wholesale in jd.com
LeetCode 1. 两数之和
Hard core! One configuration center for 8 classes!
Day 18 of leetcode dynamic planning introduction
渗透工具-内网权限维持-Cobalt strike
Mathematical analysis_ Notes_ Chapter 5: univariate differential calculus
vscode设置删除行快捷键[通俗易懂]
john爆破出现Using default input encoding: UTF-8 Loaded 1 password hash (bcrypt [Blowfish 32/64 X3])
Cell:清华程功组揭示皮肤菌群的一种气味挥发物促进黄病毒感染宿主吸引蚊虫...
LeetCode 1. Sum of two numbers
Unity使用UGUI设置一个简单多级水平方向下拉菜单(不需要代码)
流批一体在京东的探索与实践
Unity uses ugui to set a simple multi-level horizontal drop-down menu (no code required)
False summer vacation
大厂面试总结大全
LeetCode 6. Z 字形变换 (N字形变换)