- 博客(7)
- 收藏
- 关注
原创 jmeter 正则表达式提取不到超过2位数的整数问题
一般的正则表达式 .*?,匹配字符串(id:“testid”)没什么问题,但是如果是超过2位的整数时(id:123),会匹配不到。 解决方法:加上匹配长度(.(1,5)?)。
2022-02-15 10:54:29
533
原创 linux 查看cpu 内存信息
# 总核数 = 物理CPU个数 X 每颗物理CPU的核数 # 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数 # 查看物理CPU个数 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l 或grep 'physical id' /proc/cpuinfo | sort -u | wc -l # 查看每个...
2020-04-15 09:03:07
142
原创 部署
下载 Jedis 浏览器打开:http://search.maven.org/,搜索 jedis。在 Download处,点击 jar 下载 Commons-Pool Jedis 对象并不是线程安全的,在多线程下使用同一个 Jedis 对象会出现并发问题。为了避免每次使用 Jedis 对象时都需要重新构建,Jedis 提供了 JedisPool。JedisPool 是基于...
2020-03-23 13:38:46
146
原创 while、if、for循环
1、while true: 执行体 for example: while i print("loop",i) 2、if 判断条件: 执行体 elif 判断条件: 执行体 for example :
2018-04-20 13:14:29
229
原创 just mark
the first day to study python ! just to have a mark!1:pycharm的安装、使用tips: setting——Coding style---file and coding templates里面设置模板2:变量的命名规则:a、大驼峰小驼峰b、下划线c、数字、字母、下划线...
2018-04-19 10:47:57
208
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅