当前位置:网站首页>服务器可用资源查询脚本
服务器可用资源查询脚本
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"
边栏推荐
- [secsha concept] original reverse supplement
- Timeout settings for feign and hystrix
- Fundamentals of MATLAB shift operation
- 中心对称的二进制模式CSLBP,matlab
- [RTOS training camp] problems of evening students
- ZK-Rollups工作原理
- [RTOS training camp] course learning methods and C language knowledge (pointer, structure, function pointer, linked list) and student questions
- [RTOS training camp] about classes and Q & A
- 【软件开发规范二】《禁止项开发规范》
- The Chinese input (Pinyin input method) component created by lvgl official +100ask enables lvgl to support Chinese input!
猜你喜欢

Small sample learning - getting started

Detailed explanation of at and crontab commands of RHCE and deployment of Chrony
![[laser principle and application-4]: internal structure and working principle of laser](/img/42/963c151c15c6b633ec0cf633355fb5.jpg)
[laser principle and application-4]: internal structure and working principle of laser

Arthas watch 命令查看数组中对象的属性

Web middleware log analysis script 3.0 (shell script)

【Code】剑指offer 03数组中重复的数字

代理IP服务器如何保证自身在网络中的信息安全呢
![[RTOS training camp] program framework, preview, after-school homework and evening class questions](/img/ce/ae35acf14519f6856ba2d181ee7201.jpg)
[RTOS training camp] program framework, preview, after-school homework and evening class questions

Detailed explanation of at and crontab commands of RHCE and deployment of Chrony

Codeforces Round #810 (Div. 2)A~C
随机推荐
Mmocr usage guide
Tutorial on principles and applications of database system (054) -- MySQL query (16): usage of date time function
985 associate professors in Colleges and universities sun their annual salary, and the provident fund tops the monthly salary of ordinary people. Netizen: it is worthy of being in Shanghai
Linked list related interview questions
MySQL pymysql operation
pip install --upgrade can‘t find Rust compiler
1.30 upgrade bin file, add suffix and file length
Matlab bitwise and or not
Oracle - isupplier portal Invoicing error
[Jizhong] July 16, 2022 1432. Oil pipeline
数据库系统原理与应用教程(056)—— MySQL 查询(十八):其他类型函数的用法
【软件开发规范二】《禁止项开发规范》
聚势|海泰方圆亮相第五届数字中国建设峰会
Microwave oven rectifier diode cl01-12
[laser principle and application -3]: foreign brands of lasers
[software development specification iv] application system security coding specification
Open download! Alibaba Devops Practice Manual
How does the proxy IP server ensure its information security in the network
Kubernetes Pod启动流程
matlab 按位 与 或 非