当前位置:网站首页>LSF-bsub命令
LSF-bsub命令
2022-06-29 20:30:00 【卢卡猫】
文章目录
一、LSF(load sharing facility)
分布资源管理的工具,用来调度、监视、分析联网计算机的负载。
目的:通过集中监控和调用,充分共享计算机的CPU、内存、磁盘、license等资源。
一组安装了LSF软件的计算机组成了一个cluster。cluster内的资源统一监控和调度。
二、bsub命令
bsub [options] command [argument]
命令参数:
-q 选择队列
-i 指定输入文件
-o 指定输出文件,作业提交后标准输出信息会保存到这个文件中
-e 指定输出文件,作业提交后标准错误输出的信息保存到这个文件夹中
-n 指定作业需要的CPU核
-J 作业的名字
-m 丢job到指定的机器上
-I 交互式模式,此时终端不能输入
-lp 提交job的时候提供虚拟terminal支持,如vim这种应用是需要terminal支持的
-R 指定当前任务的资源需求
-W 限定作业运行时间
bsub -n x -q queuename -R rusage[mem=10240] -i inputfile -o outputfile COMMAND
其中x代表了提交作业需要的CPU数,-q指定作业提交到的队列,如果不采用-q选项,系统把作业提交到默认作业队列。任务需要10G内存,inputfile代表程序需要读入的文件名,outputfile代表一个文件,作业提交后标准输出信息将会保存到这个文件。 COMMAN则是用户要运行的程序
使用8个cpu运行任务
bsub -n 8 /.... run.tcl -8 -log flow.log
三、 常用命令
3.1 bhosts
利用bhosts命令可查看当前各节点的空闲情况
3.2 bqueues
利用bqueues可以查看现有队列信息
3.3 bjobs
利用bjobs可以查看作业的运行情况,bjobs | wc 统计总的job数
利用bjobs -u name可以查看用户下的具体任务
3.4 bkill
利用bkill命令可以终止某个运行中或排队中的作业,
[[email protected]] bkill 79726
Job <79722 > is being terminated
3.5 bhist
bhist -a:查看已经运行完毕的作业信息
3.6 busers
利用busers可以查看用户信息
边栏推荐
猜你喜欢

"Operation and maintenance department has Xiao Deng" to review and analyze file and folder access rights

Bigder:自动化测试工程师

18. `bs对象.节点名.next_sibling` previous_sibling 获取兄弟节点
![[today in history] June 29: SGI and MIPS merged; Microsoft acquires PowerPoint developer; News corporation sells MySpace](/img/86/abeb82927803712a98d2018421c3a7.png)
[today in history] June 29: SGI and MIPS merged; Microsoft acquires PowerPoint developer; News corporation sells MySpace

【编译原理】类型检查

A Japanese Cherry sold at a sky high price of 1980 yuan. Netizen: I feel cheated after eating it

"Xiaodeng" in operation and maintenance monitors user login operations in real time

Flume configuration 4 - Custom source+sink

Linux Installation mysql8

Configuration du Flume 4 - source personnalisée + sink
随机推荐
What is a database? Database detailed notes! Take you into the database ~ you want to know everything here!
Nutch2.1分布式抓取
Enter the year and month to find the total number of days in the month
Defense cornerstone in attack and defense drill -- all-round monitoring
Spark存储体系底层架构剖析-Spark商业环境实战
Lexin interview process
Wangedit rich text editor usage (detailed)
Uncover the secret! Pay attention to those machines under the membership system!
Three.js开发:粗线的画法
How do I audit Active Directory User account changes?
Sentinel的快速入门,三分钟带你体验流量控制
从众伤害的是自己
Talk about the delta configuration of Eureka
Koa source code analysis
MySQL JSON data types & functions
软件工程—原理、方法与应用
一个超赞的开源的图片去水印解决方案
The reason why the log analysis tool of "operation and maintenance" is used more and more frequently
C#_ Convert camera images to bitmap format and draw Crosshairs
SSH命令及使用说明