上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 51 下一页
摘要: 1、查找系统pid ps -aux | grep [进程名] 2、查看指定进程线程占用CPU情况 pidstat -p [进程PID] -t 1 显示结果 ~$ pidstat -p 31795 -t 1 Linux 4.15.0-176-generic (cpu2) 05/10/2023 _x86 阅读全文
posted @ 2023-05-10 17:51 代码诠释的世界 阅读(3167) 评论(0) 推荐(0)
摘要: 1、插件地址 https://jmeter-plugins.org/ 2、安装方式 2.1官网下载插件安装 https://jmeter-plugins.org/?search=jpgc-casutg 安装位置 重启即可 2.2使用插件管理安装 安装插件管理 https://jmeter-plugi 阅读全文
posted @ 2023-05-10 17:31 代码诠释的世界 阅读(1098) 评论(0) 推荐(0)
摘要: 1、起因 因为测试需要向平板传输apk安装文件,插数据线比较麻烦,同一局域网起个服务方便又快捷,速度也快, linux下类似 2、官网文档 python3.11 https://docs.python.org/3/library/http.server.html python2.7(自行了解) ht 阅读全文
posted @ 2023-05-08 11:21 代码诠释的世界 阅读(435) 评论(0) 推荐(0)
摘要: 1、问题 使用Python3 requests发送HTTPS请求,verify=False 已经关闭认证情况下,控制台会输出以下warning 2、处理 import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureReques 阅读全文
posted @ 2023-04-22 16:49 代码诠释的世界 阅读(33) 评论(0) 推荐(0)
摘要: 1、问题 下载视频解析的时候报错No module named “Crypto”,已经pip安装 2、解决 pip uninstall crypto pycryptodome pip install pycryptodome pycrypto和crypto是同一个库,crypto在 python 中 阅读全文
posted @ 2023-04-22 16:46 代码诠释的世界 阅读(78) 评论(0) 推荐(0)
摘要: 1、m3u8库 https://pypi.org/project/m3u8/ 2、安装 pip install m3u8 3、使用 import time from Crypto.Util.Padding import pad from Crypto.Cipher import AES import 阅读全文
posted @ 2023-04-22 16:39 代码诠释的世界 阅读(2716) 评论(0) 推荐(0)
摘要: 1、使用lsb_release -a ~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: foc 阅读全文
posted @ 2023-04-16 20:04 代码诠释的世界 阅读(139) 评论(0) 推荐(0)
摘要: 1、安装JDK环境,1.8及以上 下载地址 https://www.oracle.com/java/technologies/downloads/#java8 安装之后,配置JDK环境变量 vi ~/.bashrc , 或者~/.profile export JAVA_HOME=/path/to/j 阅读全文
posted @ 2023-04-16 18:37 代码诠释的世界 阅读(759) 评论(0) 推荐(0)
摘要: 1、场景 由于测试需要删除缓存目录相关文件,但是rm -rf ./*的时候报错 2、处理方法 cd [需要删除的目录] ls | xargs -n 10 rm -fr ls 参数解释: 输出所有的文件名(用空格分割) xargs就是将ls的输出,每10个为一组(以空格为分隔符),作为rm -rf的参 阅读全文
posted @ 2023-04-16 17:48 代码诠释的世界 阅读(381) 评论(0) 推荐(0)
摘要: 1、场景 由于测试导致的缓存文件较多,需要删除,手动删除太慢,所以直接用命令删除 2、报错 备注:没装powershell的电脑可以用的 3、处理方法 cmd --% /c RMDIR /Q/S C:\Users\ADMINI~1\AppData\Local\Temp 参数解释: --%,停止解析符 阅读全文
posted @ 2023-04-16 17:15 代码诠释的世界 阅读(1478) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 51 下一页