2016年2月10日

自动重命名alert日志,并清理trc文件

摘要: #!/usr/bin/python import linecache import os import time # def log def rlog(log): LTIME=time.strftime('%Y-%m-%d %H:%M:%S') f=open('/tmp/poracle.log',' 阅读全文

posted @ 2016-02-10 16:39 侯志清 阅读(518) 评论(0) 推荐(0) 编辑

python 自动监控表空间,并自动添加数据文件

摘要: #!/usr/bin/python import os import time import linecache # 定义记录日志文件 def rlog(log): LTIME=time.strftime('%Y-%m-%d %H:%M:%S') f=open('/tmp/poracle.log', 阅读全文

posted @ 2016-02-10 16:33 侯志清 阅读(937) 评论(0) 推荐(1) 编辑

导航