Mic_chen

It is not the strongest of the species that survive, nor the most intelligent, but the one most responsive to change

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2023年4月6日

摘要: linux测试程序 阅读全文
posted @ 2023-04-06 15:06 Mic_chen 阅读(42) 评论(0) 推荐(0) 编辑

摘要: http://blog.chinaunix.net/uid-20665441-id-305478.html 详细解释为:先把TCP协议的序列号搞清楚:1、开始C端随机生成初始sequence(C),发到S,flag为syn (eg.Seq(C)=0)2、S端回应C端,也随机生成初始sequence( 阅读全文
posted @ 2023-04-06 14:45 Mic_chen 阅读(49) 评论(0) 推荐(0) 编辑

摘要: 在实际工程应用中,经常会遇到设备在现场才会出问题,并且出错的概率很低(几天甚至一个月),这种情况下,不能连接调试串口获取打印信息,日志系统的信息可能也不完全,这个时候需要添加监控脚本来监控系统。 如下是一个简单的实用监控脚本,分别对内核日志,内存,线程状态进行监控 #! /bin/sh mkdir 阅读全文
posted @ 2023-04-06 14:42 Mic_chen 阅读(27) 评论(0) 推荐(0) 编辑