Code Monkey home page Code Monkey logo

python-scripts's Introduction

python-scripts

日常脚本 [email protected] 友情注释:python小白学习者,大神勿喷^V^

脚本说明:

#1、moitor_log.py

监控日志文件中出现的灾难信息,报警并发送短信到报警人,指定报警信息 已解决根据天生成文件的日志,持续监控进行

#2、moitor_sql_sms.py

监控业务中出现回款错误及其他的异常,根据sql可定义 监控SQL返回条目,过滤或判断是否发送报警短信

#3、search_key_file.py

查找日志或者文件中出现指定关键字的次数并过滤出来 可指定多个关键字,显示结果行

#4、back_project.py

备份项目脚本,根据目录

备份结构: [root@node2-web 20171031]# ls

app.tar.gz rqb.tar.gz rqt.tar.gz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.