#!/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.lo
服务器可用资源查询脚本
于 2022-07-23 17:55:46 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)