{
    "name"  : "U盘空间是否被占满",
    "problems" : {
        "flowError" : {
            "desc"      : "【问题】U盘剩余空间不足。",
            "advice"    : "【建议】请确认U盘空间的实际使用率，无法解决的话请联系400处理。"
        }
    }
}
---------------------------code-------------------------------
if get_share_value("IsOrNotEG2000K")!="yes" :
    return 'skip'
end

res = cli("show usb")
print res
resArr = res.match(/Available size:\d+/g)
print resArr
resAr = resArr[0]
space = resAr.split(/Available size:/)
space = space[1]
if space < 1000 :
	print 'warn'
	add_problem("flowError")
	return 'warn'
end	
print 'success'
return 'success'