/shell

Primary LanguagePython

shell


我写/改/抄袭的一些小脚本

catalina_analysis.sh:抓取tomcat日志中时间超过1000的事务
catalina_split.sh:定时切割tomcat日志,并删除10天之前日志
CPU.sh:邮件cpu使用率,需指定网卡和邮箱
create_folder.sh:文件不存在 则创建文件
Judge_time.sh:判断输入的两个参数是否都是时间参数
link_mysql.sh:链接到MySQL数据库,并创建表
mem.sh:邮件内存使用率,需指定网卡和邮箱
tomcat_http_code_statistics.sh:tomcat http状态码统计
tomcat_web_access_statistics.sh:tomcat tomcat 每分钟的请求数量
tomcat_webapps_update.sh:tomcat 软件包自动更新
auto_deny_ip.sh:多次登陆失败的ip禁止ssh登陆主机
auto_scp.sh:自动将包发送到服务器
auto_ssh_shell.sh:自动在服务器上执行命令 auto_ssh:批量ssh认证
sql_to_json.py:sql语句转化为json格式   aliyun_rds.py:调用阿里云数据库监控数据最终代码 pycurltest.py:页面网页测速