12 2020 档案

 
监控:Prometheus监控locust,grafana实时展示报告(通过boomer实现的负载生成器)
摘要:时间:2020/12/31 本文是对文章https://www.cnblogs.com/jinziguang/p/13610209.html的补充:将locust生成的数据通过prometheus收集,再通过grafana展示出来 环境: windows:运行locust的master机和slave 阅读全文
posted @ 2020-12-31 14:24 _titleInfo 阅读(1645) 评论(0) 推荐(0) 编辑
go:设置go mod
摘要:设置go mod:go mod init filename.go 转载自:https://www.cnblogs.com/bbllw/p/12377155.html 阅读全文
posted @ 2020-12-29 15:36 _titleInfo 阅读(98) 评论(0) 推荐(0) 编辑
locust报错:RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
摘要:locust -f xx.py报错: /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility 阅读全文
posted @ 2020-12-29 14:03 _titleInfo 阅读(2566) 评论(0) 推荐(0) 编辑
pgsql:获取表的列名
摘要:psql查询某个表的列名: select column_name from information_schema.columns where table_name='xx' and table_schema=''public; 阅读全文
posted @ 2020-12-17 15:28 _titleInfo 阅读(1494) 评论(0) 推荐(0) 编辑
shell:定时任务crontab
摘要:查看当前定时任务:cat /etc/crontab和crontab -l 添加定时任务:crontab -e,进入编辑模式,格式如"* * * * * sh /path/xx.sh",退出i模式后shift+zz退出保存即可、使用crontab -l查看 阅读全文
posted @ 2020-12-04 10:21 _titleInfo 阅读(104) 评论(0) 推荐(0) 编辑
shell:采集进程的cpu和内存利用率_随手记1
摘要:1.获取时间: DATE=`date +%Y_%m_%d` echo DATE>>>20201203变量名) 2.读取键盘输入: echo "请输入:" read input echo $i 阅读全文
posted @ 2020-12-04 09:54 _titleInfo 阅读(682) 评论(0) 推荐(0) 编辑
临时记录
摘要:性能测试博客:https://defonds.blog.csdn.net/article/list/5 阅读全文
posted @ 2020-12-02 16:03 _titleInfo 阅读(57) 评论(0) 推荐(0) 编辑

 

点击右上角即可分享
微信分享提示