摘要: ''' filelist=os.listdir("./report") for i in filelist: if("container" in i): pass else: with open("./report/"+i, 'r') as f: data = json.load(f) if(data["uuid"]=="fac37dfe-c253-458c-96be-820a5b42d589") 阅读全文
posted @ 2019-12-21 17:14 anobscureretreat 阅读(996) 评论(0) 推荐(0)
摘要: linux shell脚本中的延时 还是使用 sleep 或usleep函数。 详细如下: 1、sleep : 默认为秒。 sleep 1s 表示延迟一秒 sleep 1m 表示延迟一分钟 sleep 1h 表示延迟一小时 sleep 1d 表示延迟一天 2、usleep : 默认以微秒。 1s = 1000ms = 1000000us 阅读全文
posted @ 2019-12-21 14:43 anobscureretreat 阅读(8217) 评论(0) 推荐(0)
摘要: 2 3 4 阅读全文
posted @ 2019-12-21 09:42 anobscureretreat 阅读(145) 评论(0) 推荐(0)