当前位置:网站首页>服务器可用资源查询脚本
服务器可用资源查询脚本
2022-07-26 01:15:00 【TMC~McGrady】
#!/bin/env csh
bhosts -l xxx > lsf_check_xxx.log
cat lsf_check_xxx.log > lsf_check_xxx1.log
cat lsf_check_xxx1.log > lsf_check.log
rm -rf lsf_check_xxx1.log
sed '/STATUS\|ok\|CURRENT\|LOAD\|load\|r15s\|^$/d' lsf_check.log > lsf_mem_check.log
rm -rf lsf_check.log
bjobs -u all -m xxx > lsf_check_xxx.log
cat lsf_check_xxx.log > lsf_check.log
rm -rf lsf_check_xxx.log
cut -c1-6 lsf_jobid_check.log > lsf_jobid.log
sed 's/^/bjobs -l &/g' lsf_jobid.log > lsf_jobid_0.log
mv lsf_jobid_0.log lsf_jobid.log
sed '1i\#!\/bin\/env csh' lsf_jobid.log > lsf_jobid.csh
chmod +x lsf_jobid.csh
lsf_jobid.csh > lsf_jobid_check_0.log
find ./ -name lsf_jobid_check_0.log | xargs grep "Job\|rusage" > lsf_jobid_check.log
cat lsf_mem_check.log lsf_jobid_check.log > lsf_all_check.log
rm -rf lsf_check.log lsf_jobid_check_0.log lsf_jobid.log lsf_mem_check.log lsf_jobid_check.log lsf_jobid.csh
echo "lsf check jobid and mem done,please lsf_all_check.log"
边栏推荐
- Suddenly found an optimization artifact
- If the native family is general, and the school is also a college on the rotten street, how to go on the next journey
- android sqlite先分组后排序左连查询
- Fundamentals of MATLAB shift operation
- [RTOS training camp] review of the previous section, idle tasks, timer tasks, execution sequence, scheduling strategy and evening class questions
- Paged query design of scenarios
- 机器学习:贝叶斯网络
- “元气可乐”不是终点,“中国可乐”才是
- 手游多开用模拟器多开游戏如何切换IP搬砖
- Kubernetes Pod启动流程
猜你喜欢
随机推荐
[RTOS training camp] about classes and Q & A
[Jizhong] July 16, 2022 1432. Oil pipeline
Docker advanced -mysql master-slave replication
【软件开发规范四】《应用系统安全编码规范》
Browser development and use skills
[software development specification iv] application system security coding specification
Modify CSV
ZK-Rollups工作原理
链表相关面试题
Gcdqueue encapsulation
Download exclusively | Alibaba cloud maxcompute questions and answers to unlock SaaS mode cloud data warehouse in this electronic manual!
EasyCVR页面添加Loading加载效果的实现过程
Working principle of ZK rollups
Half of the people in the country run in Changsha. Where do half of the people in Changsha run?
Lock upgrade: no lock, bias lock, lightweight lock, heavyweight lock
Detailed explanation of at and crontab commands of RHCE and deployment of Chrony
更换IP地址常见的4种简单有效的方法
PyCharm在创建py文件时自动添加头部注释
网络性能评估工具 ping/mtr
Selenium assertion and JS actuator





![[RTOS training camp] GPIO knowledge and preview arrangement + evening class questions](/img/44/f3323a16e505a7fe923b25630f62f7.jpg)

