当前位置:网站首页>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。
边栏推荐
- PCL 最小中值平方法拟合平面
- Serial port controls steering gear rotation
- Go zero micro service practical series (VIII. How to handle tens of thousands of order requests per second)
- 618 reprise en profondeur: la méthode gagnante de la famille Haier Zhi
- LeetCode 2. Add two numbers
- 串口控制舵机转动
- DGraph: 大规模动态图数据集
- 大廠面試總結大全
- SQL solves the problem of continuous login deformation holiday filtering
- The login box of unity hub becomes too narrow to log in
猜你喜欢

SQL solves the problem of continuous login deformation holiday filtering

Seal Library - installation and introduction

基于Impala的高性能数仓实践之执行引擎模块

Foreign enterprise executives, continuous entrepreneurs, yoga and skiing masters, and a program life of continuous iteration and reconstruction

What is the difference between self attention mechanism and fully connected graph convolution network (GCN)?

小鹏P7雨天出事故安全气囊没有弹出 官方回应:撞击力度未达到弹出要求

中国信通院《数据安全产品与服务图谱》,美创科技实现四大板块全覆盖

Résumé de l'entrevue de Dachang Daquan

Unity uses ugui to set a simple multi-level horizontal drop-down menu (no code required)

外企高管、连续创业者、瑜伽和滑雪高手,持续迭代重构的程序人生
随机推荐
vscode设置删除行快捷键[通俗易懂]
曆史上的今天:支付寶推出條碼支付;分時系統之父誕生;世界上第一支電視廣告...
PCL least median square method fitting plane
Aike AI frontier promotion (2.15)
Executive engine module of high performance data warehouse practice based on Impala
DigiCert SSL证书支持中文域名申请吗?
unity Hub 登錄框變得很窄 無法登錄
2322. 从树中删除边的最小分数(异或和&模拟)
pwm呼吸灯
易语言abcd排序
Global and Chinese markets for carbon dioxide laser cutting heads 2022-2028: Research Report on technology, participants, trends, market size and share
⌈ 2022 ⌋ how to use webp gracefully in projects
Recalling the college entrance examination and becoming a programmer, do you regret it?
Headline | Asian control technology products are selected in the textile and clothing industry digital transformation solution key promotion directory of Textile Federation
The median salary of TSMC's global employees is about 460000, and the CEO is about 8.99 million; Apple raised the price of iPhone in Japan; VIM 9.0 releases | geek headlines
Take you ten days to easily complete the go micro service series (I)
&lt;四&gt; H264解码输出yuv文件
DGraph: 大规模动态图数据集
SQL solves the problem of continuous login deformation holiday filtering
System Verilog实现优先级仲裁器