当前位置:网站首页>awk 统计差值记录
awk 统计差值记录
2022-08-04 19:23:00 【洪大宇】
cat session-Serial-COM4-07-19-Serial-COM4-20.log | grep '\[USER DEBUG\]' | grep 'framer_index' | awk 'BEGIN{first=0;second=0;diff=0}{if($4 == 0){first=$6} if($4 == 1){second = $6;diff = second - first;print diff}}' > res.txt
边栏推荐
- win10 uwp ping
- 02 ts 变量定义,类型
- 机器学习之支持向量机实例,线性核函数 多项式核函数 RBF高斯核函数 sigmoid核函数
- win10 uwp DataContext
- 四维图新:子公司首款功能安全 MCU 芯片已陆续送样
- Dragoma (DMA) Metaverse System Development
- 存储资源盘活系统助力新基建
- 直播回顾|7 月 Pulsar 中文开发者与用户组会议
- Industrial CCD and CMOS camera
- The CPU suddenly soars and the system responds slowly, what is the cause?Is there any way to check?
猜你喜欢
随机推荐
lc marathon 8.3
QT 小知识随记
SQL Server 遇到报错解决办法--更新中
ros2订阅esp32发布的电池电压数据
入门:人脸专集1 | 级联卷积神经网络用于人脸检测(文末福利)
The Development and Current Situation of Object Detection
【HCIP】MPLS WPN 实验
Exploration and Practice of Database Governance
02 ts 变量定义,类型
win10 uwp MVVM 轻量框架
服务器
ros2订阅esp32发布的电池电压数据-补充
HCIA-R&S自用笔记(22)STP状态与计时器、STP拓扑变化、STP配置及实验
IDEA 自动导入的配置(Auto import)
SIGIR 2022 | 邻域建模Graph-Masked Transformer,显著提高CTR预测性能
Finger Vein Recognition-matlab
零基础做出高端堆叠极环图
Regular expression is incomplete
译文推荐|Apache Pulsar 隔离系列(四):单集群隔离策略
使用.NET简单实现一个Redis的高性能克隆版(二)








