当前位置:网站首页>Server available resources query script
Server available resources query script
2022-07-26 01:20: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"
边栏推荐
- MulDA: A Multilingual Data Augmentation Framework for Low-Resource Cross-Lingual NER 阅读笔记
- 动态IP地址是什么?为什么大家会推荐用动态ip代理?
- 腾讯员工晒出薪资:真实985毕业薪资,大家看我还有救吗?网友:日薪?
- Detailed explanation of at and crontab commands of RHCE and deployment of Chrony
- [software development specification III] [software version naming Specification]
- NodeJS 基于 Dapr 构建云原生微服务应用,从 0 到 1 快速上手指南
- How can MySQL just duplicate data?
- Linear relationship between vectors
- Leetcode 537. 复数乘法(网友思路,自愧不如)
- Modify CSV
猜你喜欢

iNFTnews | 假如这是元宇宙20年后的样子
![[secsha concept] large and small end](/img/1e/d295a6eb7ecaccb53ed9f7d2234956.png)
[secsha concept] large and small end

Game thinking 17: Road finding engine recast and detour learning II: recast navigation grid generation process and limitations

Inverse matrix block matrix
![[RTOS training camp] about classes and Q & A](/img/ea/32a4f4a5be29afcd0a68a0bcf0169f.jpg)
[RTOS training camp] about classes and Q & A

Sqli-labs Less7

【ctf】Crypto初步基础概要

How does the proxy IP server ensure its information security in the network

The second China rust developer conference is coming, and the complete agenda has been exposed!

Browser development and use skills
随机推荐
matlab 按位 与 或 非
[data mining] differences, advantages and disadvantages between generative model and discriminant model
Jushi | Haitai Fangyuan appears at the 5th Digital China Construction Summit
Fastjason handles generics
Leetcode 537. 复数乘法(网友思路,自愧不如)
【Go】如何控制协程的最大并发数
NLP introduction + practice: Chapter 3: gradient descent and back propagation
"Introduction to natural language processing practice" deep learning foundation - attention mechanism, transformer deep analysis and learning material summary
NLP introduction + practice: Chapter 4: using pytorch to manually realize linear regression
Lua basic grammar
android sqlite先分组后排序左连查询
Oracle - isupplier portal Invoicing error
Small sample learning data set
Fundamentals of MATLAB shift operation
[secsha concept] original reverse supplement
Pycharm automatically adds header comments when creating py files
Causes of signal degradation in optical fiber communication
[software development specification iv] application system security coding specification
Mulda: a multilingual data augmentation framework for low resource cross linguistic ner reading notes
NiO simple example