会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
littlevigra
用个简单例子来让自己清楚工作过程
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
11
12
13
14
15
16
17
18
19
···
70
下一页
2021年3月9日
postgresql常用命令 + show full processlist
摘要: 1.登陆 psql -h 127.0.0.1 -U postgres -p31800 postgres (1)列出所有的数据库 mysql: show databasespsql: \l或\list (2)切换数据库 mysql: use dbnamepsql: \c dbname (3)列出当前数
阅读全文
posted @ 2021-03-09 16:50 littlevigra
阅读(1799)
评论(0)
推荐(0)
2021年3月8日
blackbox exporter - 黑盒监控 MULTI-TARGET EXPORTER PATTERN - 修改module
摘要: 1. 好的参考文档:prometheus/blackbox_exporter https://github.com/prometheus/blackbox_exporter https://github.com/prometheus/blackbox_exporter/blob/master/CON
阅读全文
posted @ 2021-03-08 11:13 littlevigra
阅读(318)
评论(0)
推荐(0)
2021年3月6日
tengine - django 配置
摘要: 1. /usr/local/tengine/conf/conf.d [root@slave1 conf.d]# cat myserver.conf server { listen 80; client_max_body_size 4G; server_name example.com 129.211
阅读全文
posted @ 2021-03-06 21:15 littlevigra
阅读(103)
评论(0)
推荐(0)
2021年3月5日
从建立连接到关闭连接的过程称为“一次连接”。 TCP/IP协议 - 解决Nginx+Tomcat出现间隙性502问题 - 抓包-看fin和具体时间点-来排除干扰 tcpdump抓包 502 tomcat nginx
摘要: 1.HTTP连接最显著的特点是客户端发送的每次请求都需要服务器回送响应,在请求结束后,会主动释放连接。 从建立连接到关闭连接的过程称为“一次连接”。 2.在Nginx配置7层代理等存在大量短连接的场景下,阿里云推荐您将TIME-WAIT超时时间修改为5s。运行以下任一命令修改超时时间: TCP/IP
阅读全文
posted @ 2021-03-05 00:46 littlevigra
阅读(311)
评论(1)
推荐(0)
2021年2月26日
Prometheus - grafana - 监控 nginx - grafana可视化 - 可视化Histogram
摘要: 1. Web Analytics Dashboard for NGINX Required NGINX json log format configuration below. https://grafana.com/grafana/dashboards/12559 log_format json_
阅读全文
posted @ 2021-02-26 23:08 littlevigra
阅读(1410)
评论(0)
推荐(0)
nginx的QPS统计
摘要: 1.根据http://xxxx.com/nginx_status/ 统计 参考:https://www.oschina.net/code/snippet_226718_17879 #/bin/bash 2 3 #nginx_status_url 手动配置项 4 NGINX_STATUS_URL="h
阅读全文
posted @ 2021-02-26 00:33 littlevigra
阅读(2973)
评论(0)
推荐(1)
2021年2月20日
nginx转发Jenkins多个实例 + nginx django
摘要: 1. nginx的配置 location /jenkinsno { index index.html index.htm; proxy_pass http://127.0.0.1:8081; proxy_connect_timeout 3000s; proxy_send_timeout 3000s;
阅读全文
posted @ 2021-02-20 18:56 littlevigra
阅读(370)
评论(0)
推荐(0)
使用blue ocean生成pipeline
摘要: 1.脚本的路径 2.代码路径 3.自动生成的Jenkinsfile creating-a-pipeline-in-blue-ocean/Jenkinsfile pipeline { agent { docker { image 'node:6-alpine' args '-p 3000:3000'
阅读全文
posted @ 2021-02-20 11:36 littlevigra
阅读(193)
评论(0)
推荐(0)
2021年2月18日
jenkins 环境变量 - 发送邮件 微信
摘要: 1.mail As an example of loading variable values from Groovy: mail to: 'devops@acme.com', subject: "Job '${JOB_NAME}' (${BUILD_NUMBER}) is waiting for
阅读全文
posted @ 2021-02-18 23:59 littlevigra
阅读(77)
评论(0)
推荐(0)
2021年2月13日
python 协程 - asyncio-subprocess 并发执行命令
摘要: 1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd
阅读全文
posted @ 2021-02-13 00:24 littlevigra
阅读(1486)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
70
下一页
公告