Commit 33d0b06b authored by liumg's avatar liumg
Browse files

Upload New File

parent dd24dfc0
#!/bin/bash
#获取/tmp的可用空间大小
available_tmp=$(df -k /tmp | awk 'NR==2 {print $4}')
available_tmp_gb=$((available_tmp / 1024 /1024 ))
Error_size=4
if [ $available_tmp_gb -lt $Error_size ];then
echo "/tmp size is too smail, should be large than $Error_size GB!!"
exit 1
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment