布局布线和时序分析
笔记本


2024-08-12 11:27:39删除各serveer的tmp文件走来走去116.236.47.26

#!/bin/csh

set j_num=0
set h="none"

while ( $j_num < 1000 )

echo "bsub -Is -q RDX_Signoff_PT -n 1 -R 'hname!=$h' -R 'span[hosts=1]' 'ls -ld /tmp/* | grep username  > /home/username/1 ; hostname > /home/username/2 '"
eval "bsub -Is -q RDX_Signoff_PT -n 1 -R 'hname!=$h' -R 'span[hosts=1]' 'ls -ld /tmp/* | grep username  > /home/username/1 ; hostname > /home/username/2 '"

set h=`cat /home/username/2`
awk '{print "\\rm -rf "$9}' /home/username/1 > /home/username/1.1
chmod u+x /home/username/1.1
echo "clean $h "
echo "bsub -Is -q RDX_Signoff_PT -n 1 -R 'span[hosts=1]' -m $h 'source /home/username/1.1'"
eval "bsub -Is -q RDX_Signoff_PT -n 1 -R 'span[hosts=1]' -m $h 'source /home/username/1.1'"

set j_num=`expr $j_num + 1`
echo $j_num
sleep 60

end



回到首页时钟 , 联系信箱:yzbox#163.com(把#换成@) 粤ICP备18155639号