日志分析方法统计并发压力测试的cpu消耗shell脚本
分析文档内容如下第一个文档名称 com1_115200_2020-03-05_11-39-23_100s.log 内容如下 cpuinfo:total:75.0,u:54.0,s:18.0,io:0.0,idle:25.0 cpuinfo:total:78.0,u:54.0,s:21.0,io:0.0,idle:22.0 cpuinfo:total:63.6,u:41.4,s:20.2,io:0.0,idle:36.4 cpuinfo:total:71.7,u:48.5,s:20.2,io:0.0,idle:28.3 cpuinfo:total:75.0,u:54.0,s:18.0,io:0.0,idle:25.0 cpuinfo:total:78.0,u:54.0,s:21.0,io:0.0,idle:22.0 cpuinfo:total:63.6,u:41.4,s:20.2,io:0.0,idle:36.4 cpuinfo:total:71.7,u:48.5,s:20.2,io:0.0,idle:28.3 等等,大概有900多条数据 分析文档第二个文档名称 192.168.184.128_2020-03-05_11-27-05_100s.log 内容如下 test start== 1583379145408 main: no process found start jmeter