inter
frances hhh
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
jacoco原理、安装、覆盖率收集
之前在学校写的工具需要手机安卓端的手工覆盖率,这块儿被卡了好久,mentor让我迁移测试环境,顺便重新梳理一下这部分内容 下载安装 1.ant下载 链接: http://ant.apache.org/. 2.iterm2安装配置 2.1 iterm2配置 将ant下载到本地后,上传到机器(这一步好坑啊) step1 : 在机器上运行 brew install lrzsz step2 : 将文件iterm2-recv-zmodem.sh和 iterm2-send-zmodem.sh copy到/usr/lo原创 2020-12-08 16:12:01 · 1209 阅读 · 0 评论 -
linux shell脚本定时任务-机器磁盘报警
上周迁移几台机器环境,一个模块的机器磁盘只有40G,总是会出现No space left on device的报错。需要写一个定时任务删除日志文件,并设置机器人提醒。由于之前从未写过shell,花了点时间。 1.定时任务 crontab * * * * * xxx.sh 2.磁盘用量 dh -lf 检查 3.hi机器人接口报警 4.自动删除 #!/bin/bash . /etc/profile . ~/.bash_profile df -lh | while read line do dis原创 2020-12-08 14:16:24 · 289 阅读 · 0 评论
分享